Closed davidhu2000 closed 2 years ago
fix document is not defined error when rendering server side. This is because we are trying to create the animation right away. Added a check for if server side, just return the animation name, and wait to run the keyframe creation until client side
fixes #522
running with NextJS and disabled javascript.
What changes are introduced?
fix document is not defined error when rendering server side. This is because we are trying to create the animation right away. Added a check for if server side, just return the animation name, and wait to run the keyframe creation until client side
fixes #522
Any screenshots?
running with NextJS and disabled javascript.