File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed
views/components/MessageMarkdown Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -271,19 +271,6 @@ const JStoIdea = {
271271
272272 window . JSJavaBridge . callJava ( JSON . stringify ( params ) ) ;
273273 } ,
274- setLanguage : ( message ) => {
275- const params = {
276- action : "updateLanguage/request" ,
277- metadata : {
278- callback : "IdeaToJSMessage" ,
279- } ,
280- payload : {
281- language : message ?. language || "en" ,
282- } ,
283- } ;
284- console . log ( "setLanguage params: " , params ) ;
285- window . JSJavaBridge . callJava ( JSON . stringify ( params ) ) ;
286- } ,
287274} ;
288275
289276class IdeaBridge {
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ interface MessageMarkdownProps
3535 className : string ;
3636 messageDone ?: boolean ;
3737 temp ?: boolean ;
38+ activeStep ?: boolean ;
3839}
3940
4041type Step = {
@@ -64,6 +65,7 @@ const MessageMarkdown = observer((props: MessageMarkdownProps) => {
6465 const lastNode = tree . children [ tree . children . length - 1 ] ;
6566 const [ chatmarkValues , setChatmarkValues ] = useSetState ( { } ) ;
6667 const { classes } = useStyles ( ) ;
68+ const { i18n, t } = useTranslation ( ) ;
6769
6870 const handleExplain = ( value : string | undefined ) => {
6971 console . log ( value ) ;
You can’t perform that action at this time.
0 commit comments