mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-28 06:50:26 +00:00
lint
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
Please see LICENSE in the repository root for full details.
|
||||
*/
|
||||
|
||||
import { ChangeEvent, FC, useCallback, useEffect, useState } from "react";
|
||||
import { ChangeEvent, FC, useCallback, useState } from "react";
|
||||
import { Trans, useTranslation } from "react-i18next";
|
||||
import { MatrixClient } from "matrix-js-sdk/src/matrix";
|
||||
import { Root as Form, Text } from "@vector-im/compound-web";
|
||||
|
||||
Reference in New Issue
Block a user