File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
frontend/src/app/collaboration/components Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,9 @@ const Question = ({
152
152
} ) ;
153
153
154
154
client . subscribe ( "/user/queue/language" , ( message ) => {
155
- const messageReceived : SingleChatLogApiResponse = JSON . parse ( message . body ) ;
155
+ const messageReceived : SingleChatLogApiResponse = JSON . parse (
156
+ message . body
157
+ ) ;
156
158
isLanguageChangeActive . current = false ;
157
159
setLanguage ( messageReceived . message ) ;
158
160
Swal . fire ( {
@@ -360,7 +362,9 @@ const Question = ({
360
362
</ Button >
361
363
</ div >
362
364
< span className = "row-span-1 text-primary-300 text-md max-h-[100%] h-full overflow-y-auto flex flex-col gap-2 bg-primary-800 p-3 rounded-md" >
363
- < span className = "text-yellow-500 font-bold text-md" > Question Description</ span >
365
+ < span className = "text-yellow-500 font-bold text-md" >
366
+ Question Description
367
+ </ span >
364
368
< span className = "text-white py-2 text-xs" > { question ?. description } </ span >
365
369
< span className = "text-yellow-500 font-bold text-md" > Examples</ span >
366
370
{ question ?. examples ?. map ( ( example , idx ) => (
@@ -394,7 +398,7 @@ const Question = ({
394
398
className = "mb-3"
395
399
>
396
400
{ showAnswer ? "Hide" : "Show" } Answer
397
- { showAnswer ? " ▼ " : " ▲ " }
401
+ { showAnswer ? " ▲ " : " ▼ " }
398
402
</ Button >
399
403
{ showAnswer && question ?. solution && (
400
404
< div className = "h-[50px] text-sm" >
You can’t perform that action at this time.
0 commit comments