We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76b1d8c commit 71395ebCopy full SHA for 71395eb
1 file changed
src/components/navigation/Navigation.tsx
@@ -1,7 +1,9 @@
1
import { type AppLocale } from "@/lib/i18n"
2
import { mapNavbarButtons, mapNavbarItems, type NavigationLogoData, type NavbarButtonData, type NavbarItemData } from "@/lib/navigation"
3
+import dynamic from "next/dynamic"
4
import { NavigationDesktop } from "./NavigationDesktop"
-import { NavigationMobile } from "./NavigationMobile"
5
+
6
+const NavigationMobile = dynamic(() => import("./NavigationMobile").then((mod) => mod.NavigationMobile))
7
8
interface NavigationProps {
9
locale: AppLocale
0 commit comments