fixed pendingComment render

This commit is contained in:
plebbitor
2023-04-22 15:12:26 +02:00
parent ff3a311870
commit 6a403256d2
5 changed files with 63 additions and 61 deletions
+1
View File
@@ -101,6 +101,7 @@ const Board = () => {
const onChallengeVerification = (challengeVerification) => {
if (challengeVerification.challengeSuccess === true) {
navigate(`/p/${selectedAddress}/c/${challengeVerification.publication?.cid}`);
console.log('challenge success');
}
else if (challengeVerification.challengeSuccess === false) {
setErrorMessage('Challenge Failed', {reason: challengeVerification.reason, errors: challengeVerification.errors});