Skip to content

Commit

Permalink
Merge pull request #436 from decert-me/hotfix-annotation
Browse files Browse the repository at this point in the history
hotfix: annotation
  • Loading branch information
0xdwong authored Jul 16, 2024
2 parents d1e8124 + 5fe9cfc commit 591f531
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/Challenge/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ export default function Challenge(params) {
delete newObj.score;
delete newObj.open_quest_review_time;
delete newObj.correct;
delete newObj.annotation;
return newObj;
}else{
return null;
Expand Down Expand Up @@ -256,6 +257,7 @@ export default function Challenge(params) {
saveAnswer()
// 提交答题次数给后端
setLoading(true);
delete answers.annotation;
await submitChallenge({
token_id: detail.tokenId,
answer: JSON.stringify(answers),
Expand Down

0 comments on commit 591f531

Please sign in to comment.