()
| 17 | } |
| 18 | |
| 19 | export default function App() { |
| 20 | const { ping, health } = useStatus() |
| 21 | return ( |
| 22 | <div style={{ padding: 24, fontFamily: 'sans-serif' }}> |
| 23 | <h1>React (Stack)</h1> |
| 24 | <p>Connectivity:</p> |
| 25 | <ul> |
| 26 | <li>/api/ping: {String(ping)}</li> |
| 27 | <li>/api/health: {String(health)}</li> |
| 28 | </ul> |
| 29 | </div> |
| 30 | ) |
| 31 | } |
nothing calls this directly
no test coverage detected