style: updated subdomain already exists UI error on 409 (#9661)
* style: updated subdomain already exists UI error on 409 * style: updated subdomain default message --------- Co-authored-by: Ishan Uniyal <ishan@Ishans-MacBook-Pro.local>
This commit is contained in:
@@ -266,7 +266,10 @@ export default function CustomDomainSettings(): JSX.Element {
|
||||
<div className="custom-domain-settings-modal-error">
|
||||
{updateDomainError.status === 409 ? (
|
||||
<Alert
|
||||
message="You’ve already updated the custom domain once today. To make further changes, please contact our support team for assistance."
|
||||
message={
|
||||
(updateDomainError?.response?.data as { error?: string })?.error ||
|
||||
'You’ve already updated the custom domain once today. To make further changes, please contact our support team for assistance.'
|
||||
}
|
||||
type="warning"
|
||||
className="update-limit-reached-error"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user