base table
This commit is contained in:
19
src/app/App.tsx
Normal file
19
src/app/App.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import { FC } from "react";
|
||||
import { Route, Routes } from "react-router-dom";
|
||||
import { Layout } from "@/app/Layout";
|
||||
import { Home, NoMatch } from "@/pages";
|
||||
|
||||
const App: FC = () => {
|
||||
return (
|
||||
<>
|
||||
<Routes>
|
||||
<Route path="/" element={<Layout />}>
|
||||
<Route index element={<Home />} />
|
||||
<Route path="*" element={<NoMatch />} />
|
||||
</Route>
|
||||
</Routes>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default App;
|
||||
Reference in New Issue
Block a user