diff --git a/components/game/card/Grouped.vue b/components/game/card/Grouped.vue index 48c5dcc..f9df08d 100644 --- a/components/game/card/Grouped.vue +++ b/components/game/card/Grouped.vue @@ -146,23 +146,23 @@ function discardCardClick(card: Card) { }, [] as number[])" :noEffects="noEffects" :discardable="discardable"> { ].includes(t.effect) ) } + return [] } ); diff --git a/pages/game.vue b/pages/game.vue index 547f646..cf0dd0e 100644 --- a/pages/game.vue +++ b/pages/game.vue @@ -10,7 +10,6 @@ import { leaveGame, surrender, } from "~/netcode"; -import { delay } from "~/netcode/events"; import { type Container, type Effect, @@ -28,7 +27,6 @@ const gameId = route.query.id; const { data: game, - pending, error, refresh, execute, @@ -235,8 +233,8 @@ onUnmounted(() => { - - + + @@ -257,7 +255,8 @@ onUnmounted(() => { - + Surrender Return to lobby