Refactor domain handling layout in AddDomain component

- Updated the structure of the AddDomain component to improve layout consistency by replacing fragment elements with a div container.
- This change enhances the visual organization of the domain management interface, contributing to a better user experience.
This commit is contained in:
Mauricio Siu 2025-05-04 12:23:41 -06:00
parent 432f616896
commit 4bec311ad0

View File

@ -278,7 +278,7 @@ export const AddDomain = ({ id, type, domainId = "", children }: Props) => {
<div className="flex flex-col gap-2"> <div className="flex flex-col gap-2">
<div className="flex flex-row items-end w-full gap-4"> <div className="flex flex-row items-end w-full gap-4">
{domainType === "compose" && ( {domainType === "compose" && (
<> <div className="flex flex-col gap-2 w-full">
{errorServices && ( {errorServices && (
<AlertBlock <AlertBlock
type="warning" type="warning"
@ -386,7 +386,7 @@ export const AddDomain = ({ id, type, domainId = "", children }: Props) => {
</FormItem> </FormItem>
)} )}
/> />
</> </div>
)} )}
</div> </div>
<FormField <FormField