feat: add informational alert for domain changes in AddDomain component

- Introduced an info alert in the AddDomain component to remind users to redeploy their compose after making changes to domains, enhancing user awareness and experience.
This commit is contained in:
Mauricio Siu
2025-11-29 20:55:04 -06:00
parent cc1620b5fa
commit 28f7fb90c0

View File

@@ -299,6 +299,13 @@ export const AddDomain = ({ id, type, domainId = "", children }: Props) => {
</DialogHeader>
{isError && <AlertBlock type="error">{error?.message}</AlertBlock>}
{type === "compose" && (
<AlertBlock type="info" className="mb-4">
Whenever you make changes to domains, remember to redeploy your
compose to apply the changes.
</AlertBlock>
)}
<Form {...form}>
<form
id="hook-form"