diff --git a/packages/pl-fe/src/features/ui/router/index.tsx b/packages/pl-fe/src/features/ui/router/index.tsx index 296f1e92b..7f16aa292 100644 --- a/packages/pl-fe/src/features/ui/router/index.tsx +++ b/packages/pl-fe/src/features/ui/router/index.tsx @@ -1234,6 +1234,14 @@ const redirectInviteRoute = createRoute({ return ; }, }); +const redirectWithRepliesRoute = createRoute({ + getParentRoute: () => rootRoute, + path: '/@{$username}/with_replies', + component: () => { + const { username } = redirectWithRepliesRoute.useParams(); + return ; + }, +}); const redirectRoutes = [ createRoute({ getParentRoute: () => rootRoute, path: '/timelines/home', component: () => }), createRoute({ getParentRoute: () => rootRoute, path: '/timelines/public/local', component: () => }), @@ -1259,6 +1267,8 @@ const redirectRoutes = [ redirectPleromaStatusRoute, redirectPleromaUsernameRoute, redirectIceshrimpStatusRoute, + redirectInviteRoute, + redirectWithRepliesRoute, ]; const routeTree = rootRoute.addChildren([