diff --git a/frontend/src/test-utils/router.tsx b/frontend/src/test-utils/router.tsx index 0a312899a..a6faa924b 100644 --- a/frontend/src/test-utils/router.tsx +++ b/frontend/src/test-utils/router.tsx @@ -9,9 +9,7 @@ import { createRootRoute, createRoute, createRouter, - matchContext, RouterContextProvider, - useRouterState, } from "@tanstack/react-router"; const rootRoute = createRootRoute(); @@ -27,22 +25,6 @@ const router = createRouter({ }); router.load(); -const InnerProvider: React.FC = ({ children }) => { - const matchId = useRouterState({ - select: (s) => { - return s.matches[0]?.id; - }, - }); - - return ( - {children} - ); -}; - export const DummyRouter: React.FC = ({ children, -}) => ( - - {children} - -); +}) => {children};