diff --git a/client-app/src/desktop/tabs/other/JsxPanel.tsx b/client-app/src/desktop/tabs/other/JsxPanel.tsx index 3d2c3672e..ff543c758 100644 --- a/client-app/src/desktop/tabs/other/JsxPanel.tsx +++ b/client-app/src/desktop/tabs/other/JsxPanel.tsx @@ -59,7 +59,7 @@ function renderCode(value: string) { width: null, height: null, readonly: true, - mode: 'application/javascript', + language: 'js', value: value.trim() }); }