From 54d81ac97929aca7a6510ed3f9419754933e2cfb Mon Sep 17 00:00:00 2001 From: hinashi Date: Wed, 30 Oct 2024 14:38:59 +0900 Subject: [PATCH] Changed the way to specify custom routes --- frontend/src/AppRouter.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/src/AppRouter.tsx b/frontend/src/AppRouter.tsx index aa88ea0d6..81fa2cdba 100644 --- a/frontend/src/AppRouter.tsx +++ b/frontend/src/AppRouter.tsx @@ -70,7 +70,6 @@ import { UserListPage } from "pages/UserListPage"; interface Props { customRoutes?: { path: string; - routePath: string; element: React.ReactNode; }[]; } @@ -91,9 +90,7 @@ export const AppRouter: FC = ({ customRoutes }) => { > {customRoutes && customRoutes.map((r) => ( - - - + ))} } />