Fix not found page

Signed-off-by: Émile Ré <nemile.re@gmail.com>
This commit is contained in:
Émile Ré
2025-03-28 12:09:56 +04:00
parent 50bf6b9c46
commit 1160c2ada1
3 changed files with 4 additions and 10 deletions

View File

@@ -27,7 +27,6 @@ posthog.init(process.env.POSTHOG_KEY!, {
const OrganizationSelectionPage = lazy(
() => import("./pages/OrganizationSelectionPage")
);
const NotFoundPage = lazy(() => import("./pages/NotFoundPage"));
function App() {
return (
@@ -62,15 +61,6 @@ function App() {
</AuthLayout>
}
/>
<Route
path="*"
element={
<Suspense>
<NotFoundPage />
</Suspense>
}
/>
</Route>
</Routes>
</BrowserRouter>