Files
kiosk/web/src/routes/RootRouter.tsx
Kenan Alić b8917772f0 Added shadcn
2025-10-24 02:40:26 +02:00

18 lines
393 B
TypeScript

/* Wouter */
import { Router, Switch, Route } from "wouter";
import { useHashLocation } from "wouter/use-hash-location";
/* Routes */
import NotFound from "@/routes/NotFound";
const RootRouter = () => (
<Router hook={useHashLocation}>
<Switch>
{/* Fallback (eg. 'Not Found / 404') */}
<Route component={NotFound} />
</Switch>
</Router>
);
export default RootRouter;