portfolio icon indicating copy to clipboard operation
portfolio copied to clipboard

Lottie SSR issue in BentoGrid

Open KayvanShah1 opened this issue 7 months ago • 4 comments

Tried dynamic loading with useEffect Hook

⨯ ReferenceError: document is not defined
    at __webpack_require__ (C:\Users\shahk\OneDrive\Projects K1\Personal\portfolio\.next\server\webpack-runtime.js:33:43)
    at __webpack_require__ (C:\Users\shahk\OneDrive\Projects K1\Personal\portfolio\.next\server\webpack-runtime.js:33:43)
    at eval (./components/ui/bento-grid.tsx:13:70)
    at (ssr)/./components/ui/bento-grid.tsx (C:\Users\shahk\OneDrive\Projects K1\Personal\portfolio\.next\server\app\page.js:206:1)
    at Object.__webpack_require__ [as require] (C:\Users\shahk\OneDrive\Projects K1\Personal\portfolio\.next\server\webpack-runtime.js:33:43)
digest: "1091135423"
 GET / 500 in 697ms

KayvanShah1 avatar Aug 02 '24 08:08 KayvanShah1