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.

fixed error with useEditDomainModal

Steven Tey943b6523f499
diff --git a/components/app/custom-domain/index.tsx b/components/app/custom-domain/index.tsx
index f66f519bd7..e844005275 100644
--- a/components/app/custom-domain/index.tsx
+++ b/components/app/custom-domain/index.tsx
@@ -29,9 +29,7 @@ export default function CustomDomain({ domain }: { domain: string }) {
}
);
- const { setShowEditDomainModal, EditDomainModal } = useEditDomainModal({
- domain,
- });
+ const { setShowEditDomainModal, EditDomainModal } = useEditDomainModal();
return (
<div className="bg-white rounded-lg border border-gray-200 py-10">