From 154d86961544aa4df58b048132a09d0511d26335 Mon Sep 17 00:00:00 2001 From: gofnnp Date: Sat, 16 Sep 2023 03:05:18 +0400 Subject: [PATCH] fix: fix transition from png to apng leo --- src/components/BreathPage/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/BreathPage/index.tsx b/src/components/BreathPage/index.tsx index 73ded5f..ad0c689 100644 --- a/src/components/BreathPage/index.tsx +++ b/src/components/BreathPage/index.tsx @@ -50,7 +50,7 @@ function BreathPage(): JSX.Element { if (!data) return; const leoTimeOut = setTimeout(() => { setAsset(data[getRandomArbitrary(0, data?.length || 0)]); - }, 10_000); + }, 9_000); return () => { clearTimeout(leoTimeOut); @@ -104,7 +104,7 @@ function BreathPage(): JSX.Element { className={`${styles.page} page`} style={{ backgroundImage: `url(${ - !isOpenModal && !isShowPreview ? asset?.url : "none" + !isOpenModal ? asset?.url : "none" })`, }} >