Skip to content

Commit

Permalink
Not sure why its not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
KenCorma committed Mar 30, 2021
1 parent 3746871 commit 9954731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reducers/ui/inputValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default (state = initialState, action) => {
switch (action.type) {
case TYPE.INITIALIZE: {
const { moduleState } = action.payload;
return (moduleState && moduleState.ui.inputValue) || initialState;
return (moduleState && moduleState.ui?.inputValue) || initialState;
}

case TYPE.UPDATE_INPUT:
Expand Down

0 comments on commit 9954731

Please sign in to comment.