diff --git a/client/app/challenges-list.tsx b/client/app/challenges-list.tsx index 633d35f..13a08fc 100644 --- a/client/app/challenges-list.tsx +++ b/client/app/challenges-list.tsx @@ -179,13 +179,13 @@ export default function ChallengesList() { inputMode='numeric' onChangeText={(text) => setEditChallengeReward(+text)} error={!editChallengeReward} - onEndEditing={sendEditChallenge} /> + onEndEditing={() => !addChallengeMutation.isPending && editChallengeMutation.isPending && sendEditChallenge()} /> @@ -199,7 +199,7 @@ export default function ChallengesList() { - +