diff --git a/components/CharacterUnit/index.tsx b/components/CharacterUnit/index.tsx index 02d5bc24..607aa0d4 100644 --- a/components/CharacterUnit/index.tsx +++ b/components/CharacterUnit/index.tsx @@ -106,7 +106,7 @@ const CharacterUnit = (props: Props) => { ) return ( - (gridCharacter) ? withHovercard : unitContent + (gridCharacter && !props.editable) ? withHovercard : unitContent ) } diff --git a/components/SummonUnit/index.tsx b/components/SummonUnit/index.tsx index ffdc73a4..7128551f 100644 --- a/components/SummonUnit/index.tsx +++ b/components/SummonUnit/index.tsx @@ -114,7 +114,7 @@ const SummonUnit = (props: Props) => { ) - return (gridSummon) ? withHovercard : unitContent + return (gridSummon && !props.editable) ? withHovercard : unitContent } export default SummonUnit diff --git a/components/WeaponUnit/index.tsx b/components/WeaponUnit/index.tsx index 815a0d38..ad740df8 100644 --- a/components/WeaponUnit/index.tsx +++ b/components/WeaponUnit/index.tsx @@ -125,7 +125,7 @@ const WeaponUnit = (props: Props) => { ) - return (gridWeapon) ? withHovercard : unitContent + return (gridWeapon && !props.editable) ? withHovercard : unitContent } export default WeaponUnit