Skip to content

Commit

Permalink
change: improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
macjuul committed Aug 26, 2024
1 parent 36b6eaf commit e9b3292
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ import { surrealql } from "@surrealdb/codemirror";
import { surrealql } from "@surrealdb/codemirror";

const state = EditorState.create({
doc: "SELECT * FROM table",
extensions: [
surrealql()
]
doc: "SELECT * FROM table",
extensions: [
surrealql()
]
});

const editor = new EditorView({
parent: document.getElementById("editor"),
state: state,
parent: document.getElementById("editor"),
state: state,
});
```

Expand Down

0 comments on commit e9b3292

Please sign in to comment.