File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
import { join } from "path"
2
2
3
+ import dynamic from "next/dynamic"
3
4
import { useRouter } from "next/router"
4
5
import { Container } from "@chakra-ui/react"
5
6
6
7
import type { Root } from "@/lib/types"
7
8
8
- import FeedbackWidget from "@/components/FeedbackWidget"
9
9
import Footer from "@/components/Footer"
10
10
import Nav from "@/components/Nav"
11
11
import { SkipLink } from "@/components/SkipLink"
@@ -46,6 +46,10 @@ export const RootLayout = ({
46
46
const shouldShowLegalTranslationBanner = isLegal && ! isPageLanguageEnglish
47
47
const originalPagePath = toPosixPath ( join ( DEFAULT_LOCALE , asPath ) )
48
48
49
+ const FeedbackWidget = dynamic ( ( ) => import ( "@/components/FeedbackWidget" ) , {
50
+ ssr : false ,
51
+ } )
52
+
49
53
return (
50
54
< Container mx = "auto" maxW = { oldTheme . variables . maxPageWidth } >
51
55
< SkipLink />
You can’t perform that action at this time.
0 commit comments