Fix closeModal invocation (#2239)

Fixes #2238

Some call sites where missed in 382b2a506a
This commit is contained in:
Claire
2023-06-04 22:05:45 +02:00
committed by GitHub
parent fca2dff2e2
commit ee771f5bad
3 changed files with 9 additions and 3 deletions

View File

@ -21,7 +21,10 @@ const mapDispatchToProps = dispatch => ({
dispatch(changeLocalSetting(setting, value));
},
onClose () {
dispatch(closeModal());
dispatch(closeModal({
modalType: undefined,
ignoreFocus: false,
}));
},
});