diff --git a/components/CharacterUnit/index.tsx b/components/CharacterUnit/index.tsx index 6e1b0674..c9479a95 100644 --- a/components/CharacterUnit/index.tsx +++ b/components/CharacterUnit/index.tsx @@ -164,6 +164,7 @@ const CharacterUnit = ({ function removeCharacter() { if (gridCharacter) sendCharacterToRemove(gridCharacter.id) + setAlertOpen(false) } // Methods: Image string generation diff --git a/components/SummonUnit/index.tsx b/components/SummonUnit/index.tsx index 1fc9274a..db93958d 100644 --- a/components/SummonUnit/index.tsx +++ b/components/SummonUnit/index.tsx @@ -113,6 +113,7 @@ const SummonUnit = ({ function removeSummon() { if (gridSummon) sendSummonToRemove(gridSummon.id) + setAlertOpen(false) } // Methods: Image string generation diff --git a/components/WeaponUnit/index.tsx b/components/WeaponUnit/index.tsx index 2da4c276..f3b78f93 100644 --- a/components/WeaponUnit/index.tsx +++ b/components/WeaponUnit/index.tsx @@ -131,6 +131,7 @@ const WeaponUnit = ({ function removeWeapon() { if (gridWeapon) sendWeaponToRemove(gridWeapon.id) + setAlertOpen(false) } // Methods: Data fetching and manipulation