Skip to content

Commit

Permalink
fix: omit hash from RouteProps
Browse files Browse the repository at this point in the history
  • Loading branch information
tylersayshi committed Sep 29, 2024
1 parent 8129ac0 commit 83d3881
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,5 +186,5 @@ type SlugTypes<Path extends string> =
: never;

export type PropsForPages<Path extends string> = Prettify<
RouteProps<Path> & SlugTypes<Path>
Omit<RouteProps<Path>, 'hash'> & SlugTypes<Path>
>;

0 comments on commit 83d3881

Please sign in to comment.