This reverts commit 34b62f7516.
This commit is contained in:
1 parent
5feca13cfb
commit
7fe80dd3dd
8 files changed
+4
-170
No files matched your search
@@ -1,8 +1,6 @@
|
||||
import { headers } from "next/headers";
|
||||
import Script from "next/script";
|
||||
|
||||
import { NavigationPermissionsProvider } from "@calcom/features/shell/permissions/NavigationPermissionsProvider";
|
||||
|
||||
import PageWrapper from "@components/PageWrapperAppDir";
|
||||
|
||||
export default async function PageWrapperLayout({ children }: { children: React.ReactNode }) {
|
||||
@@ -23,7 +21,7 @@ export default async function PageWrapperLayout({ children }: { children: React.
|
||||
].filter((script): script is { id: string; script: string } => !!script.script);
|
||||
|
||||
return (
|
||||
<NavigationPermissionsProvider>
|
||||
<>
|
||||
<PageWrapper requiresLicense={false} nonce={nonce}>
|
||||
{children}
|
||||
{scripts.map((script) => (
|
||||
@@ -38,6 +36,6 @@ export default async function PageWrapperLayout({ children }: { children: React.
|
||||
/>
|
||||
))}
|
||||
</PageWrapper>
|
||||
</NavigationPermissionsProvider>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user