From f78f3656439f69a82fbea62eb715b1c21abe601c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Sat, 3 Jan 2026 15:42:15 +0100 Subject: [PATCH] pl-fe: this doesn't actually work MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-fe/src/features/ui/router.tsx | 28 ----------------------- 1 file changed, 28 deletions(-) diff --git a/packages/pl-fe/src/features/ui/router.tsx b/packages/pl-fe/src/features/ui/router.tsx index 59393b9b2..5a480c6a4 100644 --- a/packages/pl-fe/src/features/ui/router.tsx +++ b/packages/pl-fe/src/features/ui/router.tsx @@ -704,30 +704,6 @@ export const statusQuotesRoute = createRoute({ component: Quotes, }); -export const statusesIdRoute = createRoute({ - getParentRoute: () => layouts.status, - path: '/statuses/$statusId', - component: Status, -}); - -export const postsIdRoute = createRoute({ - getParentRoute: () => layouts.default, - path: '/posts/$statusId', - component: Status, -}); - -export const noticeRoute = createRoute({ - getParentRoute: () => layouts.default, - path: '/notice/$statusId', - component: Status, -}); - -export const notesRoute = createRoute({ - getParentRoute: () => layouts.default, - path: '/notes/$statusId', - component: Status, -}); - // Event routes export const eventInformationRoute = createRoute({ getParentRoute: () => layouts.event, @@ -1280,9 +1256,6 @@ const routeTree = rootRoute.addChildren([ developersSwRoute, cryptoDonateRoute, federationRestrictionsRoute, - postsIdRoute, - noticeRoute, - notesRoute, loginRoute, loginAddRoute, resetPasswordRoute, @@ -1339,7 +1312,6 @@ const routeTree = rootRoute.addChildren([ layouts.status.addChildren([ statusRoute, statusQuotesRoute, - statusesIdRoute, ]), ]);