Skip to content

Commit

Permalink
Attempt fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Mar 4, 2024
1 parent 8225a1a commit ac7a2a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ export async function createNote(
attachedToHrl: Hrl | undefined = undefined,
text: string | undefined = undefined,
): Promise<EntryHash> {
const initialState = textEditorGrammar.initialState()
const initialState = textEditorGrammar.initialState();
if (text !== undefined)
initialState.text.insertAt!(0,text)
initialState.text.insertAt!(0, ...text);

const documentStore = await synStore.createDocument(
initialState,
Expand Down

0 comments on commit ac7a2a9

Please sign in to comment.