diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-09 22:50:00 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-09 22:50:00 +0900 |
commit | 7e35d11f659029febd738c83b19ab4b8a8b69642 (patch) | |
tree | abab11e010280811311f9a4214325160009d4129 /src/console | |
parent | e8056d2a709df9c9c182382fc7a31795e4dc1c0f (diff) |
add console actions/reducer tests and fix targets
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/console.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console/console.js b/src/console/console.js index 044aa5f..35d98e0 100644 --- a/src/console/console.js +++ b/src/console/console.js @@ -1,12 +1,12 @@ import './console.scss'; import Completion from './completion'; -import consoleReducer, { defaultState } from '../reducers/console'; +import consoleReducer from '../reducers/console'; // TODO consider object-oriented var prevValue = ""; var completion = null; var completionOrigin = ""; -let state = defaultState; +let state = consoleReducer(undefined, {}); const blurMessage = () => { return { |