diff --git a/src/pages/Pot/components/ChallengeModal/ChallengeModal.tsx b/src/pages/Pot/components/ChallengeModal/ChallengeModal.tsx index 44648565..a8300b54 100644 --- a/src/pages/Pot/components/ChallengeModal/ChallengeModal.tsx +++ b/src/pages/Pot/components/ChallengeModal/ChallengeModal.tsx @@ -24,13 +24,12 @@ const ChallengeModal = ({ onClose, existingChallengeForUser }: any) => { const { challengeReason, challengeReasonError } = state; const handleCancelChallenge = () => { - onClose(); State.update({ challengeReason: "", challengeReasonError: "" }); + onClose(); }; const handleSubmitChallenge = () => { PotSDK.challengePayouts(potId, challengeReason); - onClose(); }; const MAX_CHALLENGE_TEXT_LENGTH = 1000;