Fix warning of eval use in lottie
Signed-off-by: Émile Ré <nemile.re@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { useEffect, useRef, useState } from "react";
|
import { useEffect, useRef, useState } from "react";
|
||||||
import lottie, { type AnimationItem } from "lottie-web";
|
import lottie, { type AnimationItem } from "lottie-web/build/player/lottie_light";
|
||||||
|
|
||||||
type Options = {
|
type Options = {
|
||||||
threshold?: number;
|
threshold?: number;
|
||||||
|
|||||||
Reference in New Issue
Block a user