Skip to content

Commit

Permalink
fix: SSR w/lottie (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett authored Oct 1, 2023
1 parent 6639f4d commit 029c7a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libs/lottie.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const lottie = (() => {
if (typeof navigator === 'undefined') return {}

const svgNS = 'http://www.w3.org/2000/svg'

let locationHref = ''
Expand Down

0 comments on commit 029c7a4

Please sign in to comment.