Skip to content

Commit f88bba4

Browse files
committed
Fix missing <TableRow>
1 parent 2bff298 commit f88bba4

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

frontend/src/components/entity/entityForm/AttributesFields.tsx

+11-9
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,17 @@ export const AttributesFields: FC<Props> = ({
133133
);
134134
})}
135135
{fields.length === 0 && (
136-
<AttributeField
137-
referralEntities={referralEntities}
138-
handleAppendAttribute={handleAppendAttribute}
139-
handleDeleteAttribute={handleDeleteAttribute}
140-
handleChangeOrderAttribute={handleChangeOrderAttribute}
141-
control={control}
142-
setValue={setValue}
143-
maxIndex={0}
144-
/>
136+
<TableRow>
137+
<AttributeField
138+
referralEntities={referralEntities}
139+
handleAppendAttribute={handleAppendAttribute}
140+
handleDeleteAttribute={handleDeleteAttribute}
141+
handleChangeOrderAttribute={handleChangeOrderAttribute}
142+
control={control}
143+
setValue={setValue}
144+
maxIndex={0}
145+
/>
146+
</TableRow>
145147
)}
146148
</>
147149
</StyledTableBody>

0 commit comments

Comments
 (0)