Skip to content

Commit

Permalink
Merge pull request #463 from decert-me/fix-preview
Browse files Browse the repository at this point in the history
fix: #462
  • Loading branch information
0xdwong authored Oct 15, 2024
2 parents 1a232d3 + 9e6d107 commit 462613c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Challenge/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ export default function Challenge(params) {
label={question.title}
question={question}
value={changeAnswer}
defaultValue={detail.answer ? detail.answer[i] : null}
defaultValue={detail?.answer ? detail.answer[i] : null}
defaultFileList={fileList}
isPreview={isPreview}
// answer={realAnswer[i]}
Expand Down

0 comments on commit 462613c

Please sign in to comment.