({ error })
| 19 | } |
| 20 | |
| 21 | const fallbackRender = ({ error }) => { |
| 22 | return <div> |
| 23 | <p>出错了:</p> |
| 24 | <div>{error.message}</div> |
| 25 | </div> |
| 26 | } |
| 27 | |
| 28 | export default function App() { |
| 29 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected