From a1b5cfd871ee7e10c42ab8f45a69cbe990f04fc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20R=C3=A5dberg?= Date: Sat, 16 Mar 2024 22:26:06 +0100 Subject: [PATCH] fix tsc --- src/Components/Players/Players.tsx | 2 +- src/Data/getInitialPlayers.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Components/Players/Players.tsx b/src/Components/Players/Players.tsx index 7ce34a6..fa3833f 100644 --- a/src/Components/Players/Players.tsx +++ b/src/Components/Players/Players.tsx @@ -1,4 +1,4 @@ -import { useEffect, useRef, useState } from 'react'; +import { useEffect, useRef } from 'react'; import { twc } from 'react-twc'; import { useGlobalSettings } from '../../Hooks/useGlobalSettings'; import { usePlayers } from '../../Hooks/usePlayers'; diff --git a/src/Data/getInitialPlayers.ts b/src/Data/getInitialPlayers.ts index 203b8e5..d64ebab 100644 --- a/src/Data/getInitialPlayers.ts +++ b/src/Data/getInitialPlayers.ts @@ -225,6 +225,7 @@ export const createInitialPlayers = ({ extraCounters: [], commanderDamage, hasLost: false, + isStartingPlayer: false, isSide: rotation === Rotation.Side || rotation === Rotation.SideFlipped, };