diff --git a/components/CharacterUnit/index.tsx b/components/CharacterUnit/index.tsx index d813b877..fe2f9919 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 9da0b566..b4dc03f0 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 8149f6a6..6a151e73 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