Skip to content

Commit

Permalink
work on client
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Feb 26, 2025
1 parent 0173688 commit c199947
Show file tree
Hide file tree
Showing 4 changed files with 143 additions and 465 deletions.
5 changes: 3 additions & 2 deletions client/src/components/editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import { LeanMonaco, LeanMonacoEditor, LeanMonacoOptions } from 'lean4monaco'
import '../../css/editor.css'
import { useSelector } from 'react-redux';
import { selectTypewriterMode } from '../../state/progress';
// import { TypewriterInterFace } from './Typewriter';
import { Typewriter } from './typewriter';
import { GoalTabs } from './infoview/goal_tabs';

export function Editor() {
let { t } = useTranslation()
Expand Down Expand Up @@ -98,7 +99,7 @@ export function Editor() {
<div ref={editorRef} id="editor" />
<div ref={infoviewRef} id="infoview" />
</Split>
{/* {typewriterMode && <TypewriterInterFace />} */}
{editor && typewriterMode && <Typewriter />}
</div>
</MonacoEditorContext.Provider>
}
Loading

0 comments on commit c199947

Please sign in to comment.