mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-05 19:59:20 +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
|
// as the browser's cache should ensure once the media is loaded
|
||||||
// once that future fetches come via the cache.
|
// once that future fetches come via the cache.
|
||||||
setSoundCache(prefetchSounds(soundMap));
|
setSoundCache(prefetchSounds(soundMap));
|
||||||
}, [shouldPlay]);
|
}, [soundCache, shouldPlay]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!shouldPlay || !audioEngineRef.current) {
|
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.
|
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 { Trans, useTranslation } from "react-i18next";
|
||||||
import { MatrixClient } from "matrix-js-sdk/src/matrix";
|
import { MatrixClient } from "matrix-js-sdk/src/matrix";
|
||||||
import { Root as Form, Text } from "@vector-im/compound-web";
|
import { Root as Form, Text } from "@vector-im/compound-web";
|
||||||
|
|||||||
Reference in New Issue
Block a user