added pending view

This commit is contained in:
plebbitor
2023-04-10 10:51:16 +02:00
parent 26cfd1f060
commit 1b18ba8b0f
4 changed files with 380 additions and 2 deletions
+1
View File
@@ -108,6 +108,7 @@ const Board = () => {
const onChallenge = async (challenges, comment) => {
setPendingComment(comment);
let challengeAnswers = [];
navigate(`/p/${selectedAddress}/c/pending`)
try {
challengeAnswers = await getChallengeAnswersFromUser(challenges)