From c3b09fc092c94751fb0ee268832297365b03dc71 Mon Sep 17 00:00:00 2001 From: Gavin McDonald Date: Sat, 19 Apr 2025 12:57:31 -0400 Subject: [PATCH] fix build complaints --- app/[gameID]/page.tsx | 3 +- components/NotFound.tsx | 2 +- components/Settings.tsx | 7 ++++- components/ToolTip.tsx | 4 +-- constants/standardCards.ts | 56 -------------------------------------- eslint.config.mjs | 13 +++++++++ 6 files changed, 24 insertions(+), 61 deletions(-) diff --git a/app/[gameID]/page.tsx b/app/[gameID]/page.tsx index 4ab833e..525f580 100644 --- a/app/[gameID]/page.tsx +++ b/app/[gameID]/page.tsx @@ -25,6 +25,7 @@ export default function GamePage() { positionFront: false, prophecy: false, notes: false, + cardStyle: 'color', }, }); @@ -82,7 +83,7 @@ export default function GamePage() { // map our five Tarokka cards to their proper locations in a 3x3 grid // common deck cards: left, top, and right // high deck cards: bottom and center - const arrangeCards = (_cell: any, index: number) => cards[cardMap[index]]; + const arrangeCards = (_cell: unknown, index: number) => cards[cardMap[index]]; return noGame ? ( diff --git a/components/NotFound.tsx b/components/NotFound.tsx index e209856..9bd6b3d 100644 --- a/components/NotFound.tsx +++ b/components/NotFound.tsx @@ -5,7 +5,7 @@ export default function Custom404() {

404 - Game Not Found

- The game you're looking for doesn't exist or has expired. + The game you’re looking for doesn’t exist or has expired.