diff --git a/client/components/FullPageSkeleton.tsx b/client/components/FullPageSkeleton.tsx index 276e0909..ade954e2 100644 --- a/client/components/FullPageSkeleton.tsx +++ b/client/components/FullPageSkeleton.tsx @@ -1,6 +1,10 @@ -import Lottie from 'lottie-react'; +'use client'; +import dynamic from 'next/dynamic'; + import peterCatWalkAnimation from '../public/loading.json'; +const Lottie = dynamic(() => import('lottie-react'), { ssr: false }); + const FullPageSkeleton = () => { return (