mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
remove redundant toast, fix thread
This commit is contained in:
@@ -40,7 +40,7 @@ const ReplyModal = ({ isOpen, closeModal }) => {
|
||||
|
||||
const onChallengeVerification = (challengeVerification) => {
|
||||
if (challengeVerification.challengeSuccess === true) {
|
||||
localStorage.setItem("toastMessage", "Challenge Success");
|
||||
console.log('challenge success:', challengeVerification);
|
||||
}
|
||||
else if (challengeVerification.challengeSuccess === false) {
|
||||
setErrorMessage('challenge failed', {reason: challengeVerification.reason, errors: challengeVerification.errors});
|
||||
|
||||
Reference in New Issue
Block a user