Skip to content

Commit

Permalink
Does this fix it?
Browse files Browse the repository at this point in the history
  • Loading branch information
thesoftwarephilosopher committed Aug 30, 2024
1 parent d808358 commit 847da6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/unity/client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ setTimeout(() => {

const file1 = await fetch('/unity/samplecode.jsx').then(res => res.text());

const model1 = monaco.editor.createModel(file1, 'javascript', monaco.Uri.parse('ts:f/file1.jsx'));
const model2 = monaco.editor.createModel('', 'javascript', monaco.Uri.parse('ts:f/file2.jsx'));
const model1 = monaco.editor.createModel(file1, 'javascript', monaco.Uri.parse('ts:filename/file1.jsx'));
const model2 = monaco.editor.createModel('', 'javascript', monaco.Uri.parse('ts:filename/file2.jsx'));

const editorContainer1 = <div /> as HTMLDivElement;
const editorContainer2 = <div /> as HTMLDivElement;
Expand Down

0 comments on commit 847da6d

Please sign in to comment.