This commit is contained in:
Half-Shot
2024-12-09 09:27:53 +00:00
parent c15117abba
commit ee7ef941f5
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ export function ReactionsAudioRenderer(): ReactNode {
// as the browser's cache should ensure once the media is loaded
// once that future fetches come via the cache.
setSoundCache(prefetchSounds(soundMap));
}, [shouldPlay]);
}, [soundCache, shouldPlay]);
useEffect(() => {
if (!shouldPlay || !audioEngineRef.current) {