diff --git a/site/unity/client.tsx b/site/unity/client.tsx index 5eee898..d9b4785 100644 --- a/site/unity/client.tsx +++ b/site/unity/client.tsx @@ -71,7 +71,7 @@ const editor2 = monaco.editor.create(editorContainer2, { }); transformJsxInSecondEditor(); -editor1.onDidChangeModelContent(throttle(200, transformJsxInSecondEditor)); +editor1.onDidChangeModelContent(throttle(20, transformJsxInSecondEditor)); async function transformJsxInSecondEditor() { const code = model1.getValue();