From 350bcbedd1b7afbfe45d0dfb61620b608e57f190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateus=20Felipe=20Gon=C3=A7alves?= Date: Fri, 29 Sep 2023 20:40:57 -0300 Subject: [PATCH] fix(ui): remove infinite sound loading animation --- src/components/sound/index.tsx | 12 ++---------- src/components/sound/styles.ts | 6 +----- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/src/components/sound/index.tsx b/src/components/sound/index.tsx index e551ad7f..b0d40262 100644 --- a/src/components/sound/index.tsx +++ b/src/components/sound/index.tsx @@ -29,7 +29,6 @@ export const SoundButton: React.FC = ({ sound }) => { volume: 1 }) const [isUpdatingSoundState, setIsUpdatingSoundState] = useState(false) - const [isAvailable, setIsAvailable] = useState(false) const soundRef = useRef() @@ -145,21 +144,14 @@ export const SoundButton: React.FC = ({ sound }) => { title={sound.title} className="flex h-24 w-24 flex-col items-center justify-center" > -