Skip to content

Commit

Permalink
Revert "fix(set): Correctly infer generic (#11768)" (#11903)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Jan 17, 2025
1 parent 0be8708 commit 2e65018
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
wrap?: P | 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 2e65018

Please sign in to comment.