Skip to content

Commit

Permalink
Fix initial state causing always evaluate to true
Browse files Browse the repository at this point in the history
  • Loading branch information
irfannuri authored and pe4cey committed May 5, 2017
1 parent c969b94 commit dc4e327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/modules/settings/settingsDuck.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const getBrowserSyncConfig = (state) => {
export const getMaxNeighbours = (state) => state[NAME].maxNeighbours || initialState.maxNeighbours
export const getMaxRows = (state) => state[NAME].maxRows || initialState.maxRows
export const getInitialNodeDisplay = (state) => state[NAME].initialNodeDisplay || initialState.initialNodeDisplay
export const getScrollToTop = (state) => state[NAME].scrollToTop || initialState.scrollToTop
export const getScrollToTop = (state) => state[NAME].scrollToTop
export const shouldReportUdc = (state) => state[NAME].shouldReportUdc !== false
export const shouldAutoComplete = (state) => state[NAME].autoComplete !== false

Expand Down

0 comments on commit dc4e327

Please sign in to comment.