Skip to content

Commit

Permalink
fix challange button
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Rb3 committed May 22, 2024
1 parent 02e8408 commit 3510308
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/Pot/components/ChallengeModal/ChallengeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3510308

Please sign in to comment.