Setup Playwright (#14)
* setting up playwright * renaming client to app * updating node version * updating node version * fixing husky * fixing husky * fixing husky * fixing husky
This commit was merged in pull request #14.
This commit is contained in:
18
app/src/App.tsx
Normal file
18
app/src/App.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import { Route, Routes } from 'react-router-dom';
|
||||
import Flights from './components/flights/Flights';
|
||||
import Logbook from './components/logbook/Logbook';
|
||||
import Checklists from './components/checklists/Checklists';
|
||||
import Pilots from './components/pilots/Pilots';
|
||||
|
||||
const App: React.FC<unknown> = () => {
|
||||
return (
|
||||
<Routes>
|
||||
<Route path="/" element={<Flights />} />
|
||||
<Route path="logbook" element={<Logbook />} />
|
||||
<Route path="checklists" element={<Checklists />} />
|
||||
<Route path="pilots" element={<Pilots />} />
|
||||
</Routes>
|
||||
);
|
||||
};
|
||||
|
||||
export default App;
|
||||
Reference in New Issue
Block a user