chore: clean up react app layouts
This commit is contained in:
parent
68b21bbb04
commit
48524332dc
4 changed files with 55 additions and 39 deletions
|
@ -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} />;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue