diff --git a/src/Router.tsx b/src/Router.tsx index faf638d9e5..b9a4e358c3 100644 --- a/src/Router.tsx +++ b/src/Router.tsx @@ -59,6 +59,7 @@ const router = createBrowserRouter([ { loader: fileLoader, id: paths.FILE, + path: paths.FILE + '/:id', element: ( @@ -74,8 +75,11 @@ const router = createBrowserRouter([ ), children: [ { - path: paths.FILE + '/:id', loader: onboardingRedirectLoader, + index: true, + element: <>, + }, + { children: [ { path: makeUrlPathRelative(paths.SETTINGS),