reset windows on phones after ever refresh
This commit is contained in:
parent
70e1e156a6
commit
89c0f0319c
|
@ -470,7 +470,7 @@ export default function windows(
|
|||
const showWindows = width > SCREEN_WIDTH_THRESHOLD;
|
||||
|
||||
if (action.type === 'RECEIVE_ME') {
|
||||
if (state.modal) {
|
||||
if (state.modal || !showWindows) {
|
||||
// reset if out of date
|
||||
return initialState;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user