Skip to content

Commit 2e65018

Browse files
authored
Revert "fix(set): Correctly infer generic (#11768)" (#11903)
1 parent 0be8708 commit 2e65018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/router/src/Set.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ type SetProps<P> = (P extends React.FC ? React.ComponentProps<P> : unknown) & {
88
* A react component that the children of the Set will be wrapped
99
* in (typically a Layout component)
1010
*/
11-
wrap?: P
11+
wrap?: P | P[]
1212
/**
1313
*`Routes` nested in a `<Set>` with `private` specified require
1414
* authentication. When a user is not authenticated and attempts to visit

0 commit comments

Comments
 (0)