Skip to content

Commit

Permalink
Tiny Code Styling Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sampoder committed Mar 15, 2023
1 parent d44ec86 commit 6f36f13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/codemirror/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import { effect, signal } from '@preact/signals'
import { h, render } from 'preact'
import SearchBox from '../../components/search-box'

export function createEditorState(initialCode : string , onUpdate = () => {}, onRunShortcut = () => {}): EditorState {
export function createEditorState(initialCode: string , onUpdate = () => {}, onRunShortcut = () => {}): EditorState {
return EditorState.create({
doc:initialCode,
doc: initialCode,
extensions: [
lineNumbers(),
highlightActiveLineGutter(),
Expand Down Expand Up @@ -94,4 +94,4 @@ export function createEditorState(initialCode : string , onUpdate = () => {}, on
widgets
]
})
}
}

0 comments on commit 6f36f13

Please sign in to comment.