Fix unexpected error

This commit is contained in:
Chi Vinh Le
2018-06-04 16:04:37 +02:00
parent b783ee8c0b
commit f142150b3e
2 changed files with 2 additions and 2 deletions
@@ -40,7 +40,7 @@ class RejectUsernameDialogContainer extends Component {
}
}
await rejectUsername({ id: userId });
await rejectUsername(userId);
hideRejectUsernameDialog();
};
+1 -1
View File
@@ -273,7 +273,7 @@ export const withRejectUsername = withMutation(
`,
{
props: ({ mutate }) => ({
rejectUsername: ({ id }) => {
rejectUsername: id => {
return mutate({
variables: {
id,