Skip to content

Commit b4a05a8

Browse files
committed
:x
1 parent 91445f3 commit b4a05a8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/app/layout.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import '@/styles/globals.css'
22
import { Roboto_Flex, Londrina_Solid, Sniglet } from 'next/font/google'
33
import CrispChat from '../components/CrispChat'
44
import { PeanutProvider } from '@/config'
5-
import { ContextProvider } from '@/config'
5+
import * as context from '@/context'
66
import { FooterVisibilityProvider } from '@/context/footerVisibility'
77

88
const roboto = Roboto_Flex({
@@ -31,13 +31,12 @@ export default function RootLayout({ children }: { children: React.ReactNode })
3131
<html lang="en">
3232
<body className={`${roboto.variable} ${londrina.variable} ${sniglet.variable} chakra-ui-light font-sans`}>
3333
<PeanutProvider>
34-
<ContextProvider>
35-
<CrispChat />
34+
<context.ContextProvider>
3635
<FooterVisibilityProvider>
3736
{children}
37+
<CrispChat />
3838
</FooterVisibilityProvider>
39-
<CrispChat />
40-
</ContextProvider>
39+
</context.ContextProvider>
4140
</PeanutProvider>
4241
</body>
4342
</html>

0 commit comments

Comments
 (0)