From d63ac3b0114f8032797d37e17c364192e0035196 Mon Sep 17 00:00:00 2001 From: thewh1teagle <61390950+thewh1teagle@users.noreply.github.com> Date: Mon, 15 Jan 2024 05:58:04 +0200 Subject: [PATCH] fix ts error --- desktop/src/components/AudioInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src/components/AudioInput.tsx b/desktop/src/components/AudioInput.tsx index 600decca..f447eefb 100644 --- a/desktop/src/components/AudioInput.tsx +++ b/desktop/src/components/AudioInput.tsx @@ -87,7 +87,7 @@ export default function AudioInput({ path, setPath, readonly, audioRef }: AudioI audioRef.current?.pause(); } - function onTimeUpdate(event: any) { + function onTimeUpdate(_: Event) { const position = audioRef.current?.currentTime ?? 1; const total = audioRef.current?.duration ?? 1; const newProgress = (position / total) * 100;