Set overlay back to initial state when dismissed

pull/10616/head
Alex P 2018-04-24 15:54:10 -07:00
parent aede92130b
commit 6c364a9efe
1 changed files with 2 additions and 1 deletions

View File

@ -16,10 +16,11 @@ export default function overlayTechnology(state = initialState, action) {
}
case 'DISMISS_OVERLAY': {
const {options} = initialState
return {
...state,
overlayNode: null,
options: null,
options,
}
}
}