We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1399589 commit 5b1448eCopy full SHA for 5b1448e
src/libs/lottie.js
@@ -1,5 +1,10 @@
1
const lottie = /* @__PURE__ */ (() => {
2
- if (typeof navigator === 'undefined' || typeof document === 'undefined') return {}
+ if (
3
+ typeof navigator === 'undefined' ||
4
+ typeof document === 'undefined' ||
5
+ typeof CanvasRenderingContext2D === 'undefined'
6
+ )
7
+ return {}
8
9
const svgNS = 'http://www.w3.org/2000/svg'
10
0 commit comments