Convert actions/account_notes
into Typescript (#26601)
This commit is contained in:
parent
7730083611
commit
bd06c13204
9 changed files with 148 additions and 161 deletions
|
@ -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}));
|
||||
},
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue