diff --git a/packages/router/src/Set.tsx b/packages/router/src/Set.tsx index 74b59ca01dd8..98403546a7f7 100644 --- a/packages/router/src/Set.tsx +++ b/packages/router/src/Set.tsx @@ -8,7 +8,7 @@ type SetProps
= (P extends React.FC ? React.ComponentProps
: 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 `