File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
frontend/src/app/collaboration/components Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -152,9 +152,9 @@ const Question = ({
152
152
} ) ;
153
153
154
154
client . subscribe ( "/user/queue/language" , ( message ) => {
155
- const messageReceived = message . body ;
155
+ const messageReceived : SingleChatLogApiResponse = JSON . parse ( message . body ) ;
156
156
isLanguageChangeActive . current = false ;
157
- setLanguage ( messageReceived ) ;
157
+ setLanguage ( messageReceived . message ) ;
158
158
Swal . fire ( {
159
159
title : "Language changed by your collaborator!" ,
160
160
icon : "success" ,
@@ -407,7 +407,7 @@ const Question = ({
407
407
</ div >
408
408
) }
409
409
</ span >
410
- < div className = "row-span-1 flex flex-col bg-primary-800 rounded-md h-full overflow-y-auto" >
410
+ < div className = "row-span-1 flex flex-col bg-primary-800 rounded-md h-full max-h-[90%] overflow-y-auto" >
411
411
{ isLoading && (
412
412
< div className = "flex justify-center p-2" >
413
413
< MoonLoader size = { 20 } />
You can’t perform that action at this time.
0 commit comments