feat: add current path

This resolves #20
This commit is contained in:
talksik
2026-03-18 08:14:32 -07:00
parent ff785f409f
commit 990137b829
6 changed files with 477 additions and 65 deletions
+3 -1
View File
@@ -9,6 +9,7 @@ import {
QueryClientProvider,
} from '@tanstack/react-query'
import PathResolver from "./pages/path-resolver";
import { SettingsPage } from "./pages/settings-page";
const queryClient = new QueryClient();
@@ -40,7 +41,8 @@ function AuthenticatedApp() {
return (
<HashRouter>
<Routes>
<Route path="*" element={<PathResolver />} />
<Route path="/settings" element={<SettingsPage />} />
<Route path="/*" element={<PathResolver />} />
</Routes>
</HashRouter>
);