({ onLoad })
| 10 | } |
| 11 | |
| 12 | const Loading = ({ onLoad }) => { |
| 13 | React.useEffect(() => { |
| 14 | setTimeout(onLoad, 1000); |
| 15 | }, []); |
| 16 | |
| 17 | return <div>Loading...</div>; |
| 18 | }; |
| 19 | |
| 20 | export default () => { |
| 21 | const [options, setOptions] = React.useState(() => genData(10)); |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…