Add missing headRenderedAboveThisLevel property.

This commit is contained in:
Alex Ahumada 2023-03-01 14:55:35 +01:00
parent 574ed26826
commit 2775d5b2a1

View File

@ -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>