mirror of
https://github.com/Vikeo/LifeTrinket.git
synced 2025-11-18 08:48:00 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user