Fix warning of eval use in lottie

Signed-off-by: Émile Ré <nemile.re@gmail.com>
This commit is contained in:
Émile Ré
2025-12-16 00:50:37 +01:00
parent b137f94b29
commit 975c4e21b1

View File

@@ -1,5 +1,5 @@
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 = {
threshold?: number;