Skip to content

Commit c8d8ec2

Browse files
committed
Reset isMobile when close header menu
1 parent dc29079 commit c8d8ec2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/shared/reducers/topcoder_header.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ function create(initialState = {}) {
1919
return {
2020
...state,
2121
openedMenu: null,
22+
isMobile: false,
2223
};
2324
},
2425
[a.closeMobileMenu](state) {
@@ -31,6 +32,7 @@ function create(initialState = {}) {
3132
return {
3233
...state,
3334
searchOpened: false,
35+
isMobile: false,
3436
};
3537
},
3638
[a.openMenu](state, action) {

0 commit comments

Comments
 (0)