Skip to content

Commit

Permalink
added onclick
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielWTE committed Jul 15, 2023
1 parent fcf007f commit 3dedb40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/domains/domainSettingsTopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const DomainSettingsTopBar = ({ domain_id, userInfo, userDetails, mailboxCount,
</div>
<button
className="bg-red-500 text-white px-4 py-2 rounded flex hover:bg-red-600 transition-all items-center w-full sm:w-auto mt-4 sm:mt-0"
onClick={() => setIsDialogOpen(true)}
>
<FontAwesomeIcon icon={faTrash} className="mr-2"/> Delete Domain
</button>
Expand Down

0 comments on commit 3dedb40

Please sign in to comment.