diff --git a/src/components/GameTable.tsx b/src/components/GameTable.tsx index 2546a4f..6f5ab37 100644 --- a/src/components/GameTable.tsx +++ b/src/components/GameTable.tsx @@ -53,7 +53,9 @@ export function GameTable({ onExit }: { onExit?: () => void } = {}) { const { t } = useI18n(); const sfx = useSoundStore((s) => s.sfx); - const toggleSfx = useSoundStore((s) => s.toggleSfx); + const music = useSoundStore((s) => s.music); + const toggleAll = useSoundStore((s) => s.toggleAll); + const muted = !sfx && !music; const exit = onExit ?? reset; const { phase, players, hakem, trump, turn, currentTrick } = game; @@ -72,14 +74,14 @@ export function GameTable({ onExit }: { onExit?: () => void } = {}) {
{trump && }