Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update delete-domain-modal.tsx

Tim Wilsonb0a213f35b92
diff --git a/apps/web/ui/modals/delete-domain-modal.tsx b/apps/web/ui/modals/delete-domain-modal.tsx
index 9da8354b21..8e0c0cf067 100644
--- a/apps/web/ui/modals/delete-domain-modal.tsx
+++ b/apps/web/ui/modals/delete-domain-modal.tsx
@@ -34,11 +34,21 @@ function DeleteDomainModal({
<div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 text-center sm:px-16">
<LinkLogo apexDomain={domain} />
<h3 className="text-lg font-medium">Delete {domain}</h3>
- <p className="text-sm text-gray-500">
- Warning: Deleting this domain will delete all associated links as well
- as their anaytics, permanently. This action cannot be undone – proceed
- with caution.
- </p>
+ <div className="space-y-2 text-sm text-gray-500">
+ <p>
+ Deleting this domain will delete all associated links as well as
+ their anaytics, permanently.
+ </p>
+ {Boolean(props.registeredDomain) && (
+ <p>The domain will also be provisioned back to Dub.</p>
+ )}
+ <p>
+ <strong className="font-semibold text-gray-700">
+ This action can't be undone
+ </strong>{" "}
+ – proceed with caution.
+ </p>
+ </div>
</div>
<form