Convert actions/account_notes into Typescript (#26601)

This commit is contained in:
Renaud Chaput
2023-09-11 16:09:22 +02:00
committed by GitHub
parent 7730083611
commit bd06c13204
9 changed files with 148 additions and 161 deletions

View File

@@ -11,7 +11,7 @@ const mapStateToProps = (state, { account }) => ({
const mapDispatchToProps = (dispatch, { account }) => ({
onSave (value) {
dispatch(submitAccountNote(account.get('id'), value));
dispatch(submitAccountNote({ id: account.get('id'), value}));
},
});