style: auto-fix lint and format
This commit is contained in:
1 parent
39a1a3695e
commit
96bb33299e
1 file changed
+8
-1
+8
-1
@@ -68,7 +68,14 @@ export const DisableUserButton = ({ user, isSelf = false }: DisableUserButtonPro
|
||||
const getButtonColor = () => (isDisabled ? "green" : "yellow");
|
||||
|
||||
return (
|
||||
<Tooltip label={isSelf ? t("user.action.disableSelf.disabled", { defaultValue: "Cannot disable your own account" }) : getTooltipLabel()} position="top">
|
||||
<Tooltip
|
||||
label={
|
||||
isSelf
|
||||
? t("user.action.disableSelf.disabled", { defaultValue: "Cannot disable your own account" })
|
||||
: getTooltipLabel()
|
||||
}
|
||||
position="top"
|
||||
>
|
||||
<Button
|
||||
onClick={handleToggle}
|
||||
loading={isPending || changeDisabledMutation.isPending}
|
||||
|
||||
Reference in new issue
Block a user