Skip to content

Commit

Permalink
fix(router): fix types (#890)
Browse files Browse the repository at this point in the history
#799 changed something and this is a leftover.
  • Loading branch information
dai-shi authored Sep 18, 2024
1 parent c9cbb62 commit f13d5fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/waku/src/router/create-pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export type CreateLayout = <Path extends string>(layout: {
render: 'static' | 'dynamic';
path: PathWithoutSlug<Path>;
component: FunctionComponent<
Omit<RouteProps, 'searchParams'> & { children: ReactNode }
Omit<RouteProps, 'query'> & { children: ReactNode }
>;
}) => void;

Expand Down

0 comments on commit f13d5fa

Please sign in to comment.