mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 01:01:49 +10:00
nav component and session provider fix
This commit is contained in:
@ -18,9 +18,9 @@ export default function App({
|
||||
pageProps: { session, ...pageProps },
|
||||
}: AppPropsWithLayout) {
|
||||
const getLayout = Component.getLayout || ((page: any) => page);
|
||||
return getLayout(
|
||||
return (
|
||||
<SessionProvider session={session}>
|
||||
<Component {...pageProps} />{" "}
|
||||
{getLayout(<Component {...pageProps} />)}
|
||||
</SessionProvider>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user