#ReferenceError: document is not defined
10 messages ยท Page 1 of 1 (latest)
oh, I think you shoud delete the page.js
I did that but still having the same issue.
Can you push your code to a repository? It would be easier to find the bug this way. ๐
problem lies within this line because without it its working fine ..<Lottie options={defaultOptions} height={200} width={400} />
const defaultOptions = {
loop: copied,
autoplay: copied,
animationData,
rendererSettings: {
preserveAspectRatio: "xMidYMid slice",
},
};
Oh, alright, good catch!
Can you try this solution? #1280945823449874453 message
you are right ....its working now...thank you for your help.
Awesome, happy to help! ๐
Thanks! it worked flawlessly