()
| 9 | const shipName = 'Dreadnought' |
| 10 | |
| 11 | function App() { |
| 12 | return ( |
| 13 | <div className="app-wrapper"> |
| 14 | <div className="app"> |
| 15 | <div className="details"> |
| 16 | {/* 🐨 wrap this in an ErrorBoundary */} |
| 17 | {/* 💰 you can use the ShipError component below as the fallback prop */} |
| 18 | <Suspense fallback={<ShipFallback />}> |
| 19 | <ShipDetails /> |
| 20 | </Suspense> |
| 21 | </div> |
| 22 | </div> |
| 23 | </div> |
| 24 | ) |
| 25 | } |
| 26 | |
| 27 | let ship: Ship |
| 28 | // 🐨 create an error variable here |
nothing calls this directly
no outgoing calls
no test coverage detected