🐛 fix issue with evolving stuck in loop

This commit is contained in:
Chase Manning 2023-11-26 18:05:42 +00:00
commit 79d0430ba0

View file

@ -255,6 +255,7 @@ const Evolution = ({ show, close, pokemonId }: Props) => {
useEvent(Event.A, () => {
if (evolved) {
setEvolved(false);
close();
}
});