From 5da01c33019846c6644c7ae7e48b4738e0dac0ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane?= Date: Wed, 25 Oct 2023 10:35:58 +0200 Subject: [PATCH] fix(linter): update types --- src/components/PlayerAudio.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PlayerAudio.tsx b/src/components/PlayerAudio.tsx index 2a64e13..aaa0ddf 100644 --- a/src/components/PlayerAudio.tsx +++ b/src/components/PlayerAudio.tsx @@ -61,7 +61,7 @@ export const PlayerAudio = memo(() => { })); }; - const handleVolumeChanged = (event: any) => { + const handleVolumeChanged = (event: Event) => { setPlayerState((previousState) => ({ ...previousState, volume: (event.target as HTMLAudioElement).volume,