aboutsummaryrefslogtreecommitdiffstats
path: root/language-web/src/main/js/index.tsx
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-10-10 01:11:33 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-10-31 19:26:09 +0100
commit2ada4a06167b3a00a4c4c69e1b0c78b00ef1db5f (patch)
tree24f0b0bf8f8959ebcf0722456da2d6260c6f1421 /language-web/src/main/js/index.tsx
parentMerge pull request #7 from golej-marci/language-to-store (diff)
downloadrefinery-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.tsx3
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).
44scope Family = 1, Person += 5..10. 44scope Family = 1, Person += 5..10.
45`; 45`;
46 46
47const rootStore = new RootStore(); 47const rootStore = new RootStore(initialValue);
48rootStore.editorStore.updateValue(initialValue);
49 48
50const app = ( 49const app = (
51 <RootStoreProvider rootStore={rootStore}> 50 <RootStoreProvider rootStore={rootStore}>