Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
valcosmos committed Oct 12, 2024
1 parent b2e7051 commit 8746368
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/BackgroundWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
import { Sphere } from '@react-three/drei'
import { Canvas, useFrame } from '@react-three/fiber'
import { motion } from 'framer-motion'
import dynamic from 'next/dynamic'
import React, { useRef } from 'react'
import ScrollTopAndComment from './ScrollTopAndComment'
import { pointsInner, pointsOuter } from './utils'

const ScrollTopAndComment = dynamic(() => import('./ScrollTopAndComment'), { ssr: false })

const PointCircle = React.memo(() => {
const ref = useRef<any>(null)

Expand Down

0 comments on commit 8746368

Please sign in to comment.