mirror of
https://github.com/wassname/talk.git
synced 2026-08-04 13:23:35 +08:00
Move previous suspendUser feature to rejectUsername
This commit is contained in:
@@ -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),
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user