Convert actions/account_notes into Typescript (#26601)
This commit is contained in:
@@ -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}));
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user