This commit is contained in:
Will Hunt
2024-11-04 12:43:59 +00:00
parent d251af4e6d
commit c64c4e61d7
4 changed files with 13 additions and 17 deletions

View File

@@ -14,7 +14,9 @@ export function ReactionsAudioRenderer(): ReactNode {
const { reactions } = useReactions();
const [shouldPlay] = useSetting(playReactionsSound);
const expectedReactions = shouldPlay ? [...new Set([...Object.values(reactions)])] : [];
const expectedReactions = shouldPlay
? [...new Set([...Object.values(reactions)])]
: [];
return (
<>
{expectedReactions.map(