Skip to content

Commit

Permalink
fix(set): Correctly infer generic (#11768)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Dec 12, 2024
1 parent f208c8b commit 8e1644a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/router/src/Set.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type SetProps<P> = (P extends React.FC ? React.ComponentProps<P> : unknown) & {
* A react component that the children of the Set will be wrapped
* in (typically a Layout component)
*/
wrap?: P | P[]
wrap?: P
/**
*`Routes` nested in a `<Set>` with `private` specified require
* authentication. When a user is not authenticated and attempts to visit
Expand Down

0 comments on commit 8e1644a

Please sign in to comment.