Skip to content

Commit 7075b80

Browse files
committed
wip
1 parent a9072c2 commit 7075b80

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

src/components/Header/Header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const Header = ({
3030

3131
<Toolbar>
3232
<Toolbar.Item icon="video play outline"
33-
onClick={runCode}>
33+
onClick={e => runCode()}>
3434
Run
3535
</Toolbar.Item>
3636
<Toolbar.Item icon="save"

src/layouts/CoreLayout/CoreLayout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const _Toolbar = ({
6666
</Menu.Item>
6767
<Menu.Item icon='chevron circle right'
6868
shortcut='&#8984;+Enter'
69-
onClick={runCode}>
69+
onClick={e => runCode()}>
7070
run
7171
</Menu.Item>
7272
<Menu.Item icon='refresh'

src/store/ide.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ const reducers = {
422422
console: {
423423
...state.console,
424424
display: true,
425+
completionValue: out.completionValue,
425426
logBuffer: out.logBuffer,
426427
},
427428
};

todo.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
[*] Saving to psql
1616
[*] Loading from psql
1717
[*] Examples for es2016 and es2017 presets
18+
[] Draggable editor sizes
1819
[] Add Linter
1920
[] Loading screen
2021

@@ -24,6 +25,7 @@
2425
[] Catch errors on iframe (sandbox)
2526
[] Saving from a snippet page doesn't seem to work
2627
[] Async examples will not log all statements to the console
28+
[] CompletionValue is not logged to console
2729

2830
### Future
2931

0 commit comments

Comments
 (0)