File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @lambda-feedback-segp-sandbox/sandbox-addon" ,
3
- "version" : " 0.6.18 " ,
3
+ "version" : " 0.6.19 " ,
4
4
"description" : " lambda feedback sandbox addon" ,
5
5
"keywords" : [
6
6
" storybook-addons" ,
Original file line number Diff line number Diff line change @@ -65,9 +65,8 @@ export function Evaluate() {
65
65
const feedback = {
66
66
isCorrect : res . data . result . is_correct ,
67
67
isError : res . data . result . is_error ?? false ,
68
- feedback :
69
- res . data . result . feedback ??
70
- ( res . data . result . is_correct ? "Correct" : "Incorrect" ) ,
68
+ feedback : ( res . data . result . is_correct ? "Correct" : "Incorrect" )
69
+ + ( res . data . result . feedback ? "\n" + res . data . result . feedback : "" ) ,
71
70
color : res . data . result . is_correct ? "green" : "red" ,
72
71
} ;
73
72
updateArgs ( { feedback : feedback } ) ;
You can’t perform that action at this time.
0 commit comments