Skip to content

Commit

Permalink
fix: omit 'router' from routerProvidersProps
Browse files Browse the repository at this point in the history
  • Loading branch information
tjosepo committed Nov 27, 2023
1 parent b0c1e81 commit b5a3d9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/neat-grapes-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@squide/firefly": patch
---

Omit "router" from routerProviderProps
2 changes: 1 addition & 1 deletion packages/firefly/src/AppRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export interface AppRouterProps {
onLoadProtectedData?: OnLoadProtectedDataFunction;
onCompleteRegistrations?: OnCompleteRegistrationsFunction;
waitForMsw: boolean;
routerProvidersProps?: RouterProviderProps;
routerProvidersProps?: Omit<RouterProviderProps, "router">;
}

export function AppRouter(props: AppRouterProps) {
Expand Down

0 comments on commit b5a3d9e

Please sign in to comment.