mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Add no-misused/floating-promises lint rule
This commit is contained in:
@@ -90,7 +90,7 @@ function Bars({ audioLevel }: { audioLevel: number }): ReactElement {
|
||||
|
||||
useEffect(() => {
|
||||
animatedProps.audioLevel.stop();
|
||||
animatedProps.audioLevel.start(audioLevel);
|
||||
void animatedProps.audioLevel.start(audioLevel);
|
||||
}, [audioLevel, animatedProps]);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user