From 9779e37f0ef3460600e5d55cd9effc29dd79166d Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sat, 24 Jun 2023 15:32:45 -0700 Subject: [PATCH] Update units for floating button display --- components/character/CharacterUnit/index.tsx | 10 ++++------ components/summon/SummonUnit/index.tsx | 10 ++++------ components/weapon/WeaponUnit/index.module.scss | 14 +------------- components/weapon/WeaponUnit/index.tsx | 10 ++++------ 4 files changed, 13 insertions(+), 31 deletions(-) diff --git a/components/character/CharacterUnit/index.tsx b/components/character/CharacterUnit/index.tsx index 530e1b8f..312f55a9 100644 --- a/components/character/CharacterUnit/index.tsx +++ b/components/character/CharacterUnit/index.tsx @@ -72,16 +72,12 @@ const CharacterUnit = ({ // Classes const classes = classNames({ + unit: true, [styles.unit]: true, [styles.editable]: editable, [styles.filled]: gridCharacter !== undefined, }) - const buttonClasses = classNames({ - options: true, - clicked: contextMenuOpen, - }) - // Other const character = gridCharacter?.object @@ -219,8 +215,10 @@ const CharacterUnit = ({