Skip to content

Commit 725ee21

Browse files
authored
Merge pull request exponential-inc#9 from qin-guan/patch-1
Update reducer.js
2 parents c1e9f98 + 00010f7 commit 725ee21

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/store/reducer.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ export const reducer = (state = initialState, action) => {
4343
theme: state.themeMode === 'auto' ? action.theme : state.theme
4444
}
4545
default:
46-
return {
47-
...state
48-
}
46+
return state
4947
}
50-
}
48+
}

0 commit comments

Comments
 (0)