Skip to content

Commit

Permalink
chore(profile): fix some code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
rhahao committed Nov 25, 2024
1 parent 3ffa4d5 commit a999f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/my_profile/security/delete_account/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const DeleteAccount = ({ open, onClose }: DeleteAccountProps) => {

<Button
variant="secondary"
disabled={!isManageAccess && isProcessing}
disabled={!isManageAccess ? isProcessing : false}
onClick={onClose}
>
{t('tr_cancel')}
Expand Down

0 comments on commit a999f4c

Please sign in to comment.