diff options
author | 2021-10-10 01:11:33 +0200 | |
---|---|---|
committer | 2021-10-31 19:26:09 +0100 | |
commit | 2ada4a06167b3a00a4c4c69e1b0c78b00ef1db5f (patch) | |
tree | 24f0b0bf8f8959ebcf0722456da2d6260c6f1421 /language-web/src/main/js/index.tsx | |
parent | Merge pull request #7 from golej-marci/language-to-store (diff) | |
download | refinery-2ada4a06167b3a00a4c4c69e1b0c78b00ef1db5f.tar.gz refinery-2ada4a06167b3a00a4c4c69e1b0c78b00ef1db5f.tar.zst refinery-2ada4a06167b3a00a4c4c69e1b0c78b00ef1db5f.zip |
feat(web): add CodeMirror 6 editor
Diffstat (limited to 'language-web/src/main/js/index.tsx')
-rw-r--r-- | language-web/src/main/js/index.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/language-web/src/main/js/index.tsx b/language-web/src/main/js/index.tsx index 80c70f23..66ad1f28 100644 --- a/language-web/src/main/js/index.tsx +++ b/language-web/src/main/js/index.tsx | |||
@@ -44,8 +44,7 @@ age(bob, bobAge). | |||
44 | scope Family = 1, Person += 5..10. | 44 | scope Family = 1, Person += 5..10. |
45 | `; | 45 | `; |
46 | 46 | ||
47 | const rootStore = new RootStore(); | 47 | const rootStore = new RootStore(initialValue); |
48 | rootStore.editorStore.updateValue(initialValue); | ||
49 | 48 | ||
50 | const app = ( | 49 | const app = ( |
51 | <RootStoreProvider rootStore={rootStore}> | 50 | <RootStoreProvider rootStore={rootStore}> |