Set overlay back to initial state when dismissed
parent
aede92130b
commit
6c364a9efe
|
@ -16,10 +16,11 @@ export default function overlayTechnology(state = initialState, action) {
|
|||
}
|
||||
|
||||
case 'DISMISS_OVERLAY': {
|
||||
const {options} = initialState
|
||||
return {
|
||||
...state,
|
||||
overlayNode: null,
|
||||
options: null,
|
||||
options,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue