Chore/packages cleanup (#51)

* remove unused

* upgrade packages and use pnpm instead of bun

* unauthenticated github request

* fix eslint

* eslint
This commit is contained in:
Viktor Rådberg
2025-11-17 22:25:21 +01:00
committed by GitHub
parent b6a402bc9f
commit 58fb63eef1
14 changed files with 3163 additions and 2749 deletions

View File

@@ -41,8 +41,8 @@ const MatchScoreBadge = twc.div<MatchScoreBadgeProps>((props) => [
props.$rotation === Rotation.Side || props.$rotation === Rotation.SideFlipped
? `left-[6.5vmax] bottom-[1vmax]`
: props.$useCommanderDamage
? 'left-[0.5vmax] top-[11.5vmin]'
: 'left-[0.5vmax] top-[1vmax]',
? 'left-[0.5vmax] top-[11.5vmin]'
: 'left-[0.5vmax] top-[1vmax]',
]);
type SettingsButtonProps = {
@@ -195,9 +195,6 @@ const LifeCounter = ({ player, opponents, matchScore }: LifeCounterProps) => {
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [document.body.clientHeight, document.body.clientWidth]);
player.settings.rotation === Rotation.SideFlipped ||
player.settings.rotation === Rotation.Side;
const handleLifeChange = (updatedLifeTotal: number) => {
const difference = updateLifeTotal(player, updatedLifeTotal);
setRecentDifference(recentDifference + difference);