Skip to content

Commit dc4e327

Browse files
irfannuripe4cey
authored andcommitted
Fix initial state causing always evaluate to true
1 parent c969b94 commit dc4e327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/modules/settings/settingsDuck.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const getBrowserSyncConfig = (state) => {
3737
export const getMaxNeighbours = (state) => state[NAME].maxNeighbours || initialState.maxNeighbours
3838
export const getMaxRows = (state) => state[NAME].maxRows || initialState.maxRows
3939
export const getInitialNodeDisplay = (state) => state[NAME].initialNodeDisplay || initialState.initialNodeDisplay
40-
export const getScrollToTop = (state) => state[NAME].scrollToTop || initialState.scrollToTop
40+
export const getScrollToTop = (state) => state[NAME].scrollToTop
4141
export const shouldReportUdc = (state) => state[NAME].shouldReportUdc !== false
4242
export const shouldAutoComplete = (state) => state[NAME].autoComplete !== false
4343

0 commit comments

Comments
 (0)