Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Feb 27, 2025
1 parent a0edece commit e14888b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function Editor() {
await _leanMonaco.start(options)

// JE: how do I get the editorApi or an RPC session?
//let infoProvider = _leanMonaco.infoProvider.editorApi
// let infoProvider = _leanMonaco.infoProvider.editorApi

console.warn('gameId', gameId)
await leanMonacoEditor.start(editorRef.current!, `/${worldId}/L_${levelId}.lean`, code)
Expand All @@ -106,7 +106,7 @@ export function Editor() {
<div ref={editorRef} id="editor" />
<div ref={infoviewRef} id="infoview" />
{/* TODO: */}
<GameInfoview editorApi={null}/>
{/* <GameInfoview editorApi={null}/> */}
</Split>
{editor && typewriterMode && <Typewriter />}
</div>
Expand Down

0 comments on commit e14888b

Please sign in to comment.