chore: Upgrade Prettier 1.8 -> 2.0 (#1436)
This commit is contained in:
@ -18,9 +18,7 @@ class UserMenu extends React.Component<Props> {
|
||||
const { user, users } = this.props;
|
||||
if (
|
||||
!window.confirm(
|
||||
`Are you want to make ${
|
||||
user.name
|
||||
} an admin? Admins can modify team and billing information.`
|
||||
`Are you want to make ${user.name} an admin? Admins can modify team and billing information.`
|
||||
)
|
||||
) {
|
||||
return;
|
||||
@ -72,12 +70,11 @@ class UserMenu extends React.Component<Props> {
|
||||
Make {user.name} a member…
|
||||
</DropdownMenuItem>
|
||||
)}
|
||||
{!user.isAdmin &&
|
||||
!user.isSuspended && (
|
||||
<DropdownMenuItem onClick={this.handlePromote}>
|
||||
Make {user.name} an admin…
|
||||
</DropdownMenuItem>
|
||||
)}
|
||||
{!user.isAdmin && !user.isSuspended && (
|
||||
<DropdownMenuItem onClick={this.handlePromote}>
|
||||
Make {user.name} an admin…
|
||||
</DropdownMenuItem>
|
||||
)}
|
||||
{!user.lastActiveAt && (
|
||||
<DropdownMenuItem onClick={this.handleRevoke}>
|
||||
Revoke invite…
|
||||
|
Reference in New Issue
Block a user