diff options
Diffstat (limited to 'src/console/actions')
-rw-r--r-- | src/console/actions/console.js | 7 | ||||
-rw-r--r-- | src/console/actions/index.js | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/console/actions/console.js b/src/console/actions/console.js index 01d9a9b..aacc21a 100644 --- a/src/console/actions/console.js +++ b/src/console/actions/console.js @@ -14,9 +14,9 @@ const showError = (text) => { }; }; -const hide = () => { +const hideCommand = () => { return { - type: actions.CONSOLE_HIDE + type: actions.CONSOLE_HIDE_COMMAND, }; }; @@ -40,5 +40,6 @@ const completionPrev = () => { }; export { - showCommand, showError, hide, setCompletions, completionNext, completionPrev + showCommand, showError, hideCommand, + setCompletions, completionNext, completionPrev }; diff --git a/src/console/actions/index.js b/src/console/actions/index.js index a5d03bc..3a6cf07 100644 --- a/src/console/actions/index.js +++ b/src/console/actions/index.js @@ -3,7 +3,7 @@ export default { CONSOLE_SHOW_COMMAND: 'console.show.command', CONSOLE_SET_COMPLETIONS: 'console.set.completions', CONSOLE_SHOW_ERROR: 'console.show.error', - CONSOLE_HIDE: 'console.hide', + CONSOLE_HIDE_COMMAND: 'console.hide.command', CONSOLE_COMPLETION_NEXT: 'console.completion.next', CONSOLE_COMPLETION_PREV: 'console.completion.prev', }; |