Skip to content

Commit

Permalink
fix: default redirect on settings route
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanjoshi914 committed Jul 9, 2024
1 parent e401a1e commit 5e6e0c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/routes.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Navigate } from "react-router-dom";
import AppLayout from "src/components/layouts/AppLayout";
import SettingsLayout from "src/components/layouts/SettingsLayout";
import TwoColumnFullScreenLayout from "src/components/layouts/TwoColumnFullScreenLayout";
import { DefaultRedirect } from "src/components/redirects/DefaultRedirect";
import { HomeRedirect } from "src/components/redirects/HomeRedirect";
Expand Down Expand Up @@ -102,7 +101,7 @@ const routes = [
},
{
path: "settings",
element: <SettingsLayout />,
element: <DefaultRedirect />,
handle: { crumb: () => "Settings" },
children: [
{
Expand Down

0 comments on commit 5e6e0c6

Please sign in to comment.