Skip to content

Commit

Permalink
fix ssr three window error
Browse files Browse the repository at this point in the history
version-patch
  • Loading branch information
trueberryless committed Apr 11, 2024
1 parent 0ea3880 commit e142de6
Show file tree
Hide file tree
Showing 4 changed files with 668 additions and 582 deletions.
2 changes: 1 addition & 1 deletion app/contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { motion } from "framer-motion";
import dynamic from "next/dynamic";
import { TypewriterEffectSmooth } from "@/components";

const World = dynamic(() => import("@/components").then((m) => m.World), {
const World = dynamic(() => import("@/components/ui/globe").then((m) => m.World), {
ssr: false,
});

Expand Down
1 change: 0 additions & 1 deletion components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ export * from "./ui/3d-card";
export * from "./ui/google-gemini-effect";
export * from "./ui/background-beams";
export * from "./ui/typewriter-effect";
export * from "./ui/globe";
Loading

0 comments on commit e142de6

Please sign in to comment.