()
| 5 | import Navbar from './components/Navbar' |
| 6 | |
| 7 | function App() { |
| 8 | const [count, setCount] = useState(0) |
| 9 | |
| 10 | return ( |
| 11 | <> |
| 12 | <Navbar count={count}/> |
| 13 | <div> |
| 14 | <a href="https://vitejs.dev" target="_blank"> |
| 15 | <img src={viteLogo} className="logo" alt="Vite logo" /> |
| 16 | </a> |
| 17 | <a href="https://react.dev" target="_blank"> |
| 18 | <img src={reactLogo} className="logo react" alt="React logo" /> |
| 19 | </a> |
| 20 | </div> |
| 21 | <h1>Vite + React</h1> |
| 22 | <div className="card"> |
| 23 | <button onClick={() => setCount((count) => count + 1)}> |
| 24 | count is {count} |
| 25 | </button> |
| 26 | <p> |
| 27 | Edit <code>src/App.jsx</code> and save to test HMR |
| 28 | </p> |
| 29 | </div> |
| 30 | <p className="read-the-docs"> |
| 31 | Click on the Vite and React logos to learn more |
| 32 | </p> |
| 33 | </> |
| 34 | ) |
| 35 | } |
| 36 | |
| 37 | export default App |
nothing calls this directly
no outgoing calls
no test coverage detected