diff --git a/.changeset/selfish-avocados-serve.md b/.changeset/selfish-avocados-serve.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/selfish-avocados-serve.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/clerk-js/src/ui/components/OrganizationProfile/AddDomainPage.tsx b/packages/clerk-js/src/ui/components/OrganizationProfile/AddDomainPage.tsx index 8d7f8e5cd0..e5bd8214f6 100644 --- a/packages/clerk-js/src/ui/components/OrganizationProfile/AddDomainPage.tsx +++ b/packages/clerk-js/src/ui/components/OrganizationProfile/AddDomainPage.tsx @@ -28,6 +28,7 @@ export const AddDomainPage = withCardStateProvider(() => { const canSubmit = organization.name !== nameField.value; const onSubmit = (e: React.FormEvent) => { + nameField.setError(undefined); e.preventDefault(); return organization .createDomain(nameField.value)