Move previous suspendUser feature to rejectUsername

This commit is contained in:
Chi Vinh Le
2017-05-18 02:28:01 +07:00
parent 056ff427a5
commit 76e87f4c34
13 changed files with 146 additions and 57 deletions
@@ -40,8 +40,9 @@ class SuspendUserDialog extends React.Component {
handlePerform = () => {
this.props.onPerform({
until: dateAdd(new Date(), 'hour', this.state.duration),
id: this.props.userId,
message: this.state.message,
until: dateAdd(new Date(), 'hour', this.state.duration),
});
};