Skip to content

Commit 35d2ba8

Browse files
committed
chore: undo CodeModal lazy loading
1 parent a72656e commit 35d2ba8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/pages/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import type { CommunityEventsReturnType } from "@/lib/interfaces"
2525
import ActionCard from "@/components/ActionCard"
2626
import ButtonLink from "@/components/Buttons/ButtonLink"
2727
import CalloutBanner from "@/components/CalloutBanner"
28+
import CodeModal from "@/components/CodeModal"
2829
import CommunityEvents from "@/components/CommunityEvents"
2930
import HomeHero from "@/components/Hero/HomeHero"
3031
import { Image } from "@/components/Image"
@@ -223,9 +224,6 @@ export const getStaticProps = (async ({ locale }) => {
223224
const Codeblock = dynamic(() => import("@/components/Codeblock"), {
224225
ssr: false,
225226
})
226-
const CodeModal = dynamic(() => import("@/components/CodeModal"), {
227-
ssr: false,
228-
})
229227

230228
const HomePage = ({
231229
communityEvents,

0 commit comments

Comments
 (0)