Skip to content

Commit

Permalink
Lazy load nav
Browse files Browse the repository at this point in the history
  • Loading branch information
muliswilliam committed Sep 24, 2023
1 parent 2aadf4b commit 6a7158b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/main.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import dynamic from 'next/dynamic'
const MainNav = dynamic(() => import('@/components/nav'), { ssr: false })
const MainNav = dynamic(() => import('../components/nav'), { ssr: false })
import { AppHead } from '../components/Head'
import { ContentWrapper } from './content-wrapper'

Expand Down

0 comments on commit 6a7158b

Please sign in to comment.