mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-16 05:03:11 +08:00
Add missing headRenderedAboveThisLevel property.
This commit is contained in:
parent
574ed26826
commit
2775d5b2a1
@ -82,6 +82,7 @@ const AppRouterProvider: React.FC<AppRouterProviderProps> = ({ children, action,
|
||||
childNodes: new Map(),
|
||||
tree: [pathname, { children: getParallelRoutes([...segments]) }],
|
||||
url: pathname,
|
||||
headRenderedAboveThisLevel: true,
|
||||
}}
|
||||
>
|
||||
<PathnameContext.Provider value={pathname}>{children}</PathnameContext.Provider>
|
||||
|
Loading…
x
Reference in New Issue
Block a user