[Glitch] Convert actions/account_notes into Typescript
Port bd06c13204 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
c82d4cfb71
commit
6fb5fafd28
9 files changed
+148
-160
No files matched your search
+1
-1
@@ -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