chore: clean up react app layouts

This commit is contained in:
Grady Hallenbeck 2023-10-06 20:45:37 -07:00
parent 68b21bbb04
commit 48524332dc
4 changed files with 55 additions and 39 deletions

View file

@ -11,7 +11,7 @@ const router = createHashRouter([
...DASHBOARD_APP_ROUTES
]);
export default function StableAppRouter({ history }: { history: History }) {
export default function StableAppRouter({ history }: Readonly<{ history: History }>) {
useLegacyRouterSync({ router, history });
return <RouterProvider router={router} />;