fix infinite loading spinner when player not found
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m2s

This commit is contained in:
Lee 2024-04-18 19:16:49 +01:00
parent 78dc37f9b7
commit 1540daf269

@ -49,7 +49,7 @@ export function LookupPlayer({ currentPlayer }: PlayerLookupProps): ReactElement
description: (err as Error).message,
duration: 5000,
});
return;
return setLoading(false);
}
};