Skip to content

Commit b79d474

Browse files
author
Ruben van Leeuwen
committed
1936: Small improvement
1 parent 6898f69 commit b79d474

File tree

1 file changed

+2
-2
lines changed
  • frontend/packages/pydantic-forms/src/core

1 file changed

+2
-2
lines changed

frontend/packages/pydantic-forms/src/core/helper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,8 @@ export const getPydanticFormComponents = (
403403
properties: Properties,
404404
componentMatcher: PydanticFormsContextConfig['componentMatcher'],
405405
): PydanticFormComponents => {
406-
const components: PydanticFormComponents = Object.entries(properties).map(
407-
([, pydanticFormField]) => {
406+
const components: PydanticFormComponents = Object.values(properties).map(
407+
(pydanticFormField) => {
408408
return fieldToComponentMatcher(pydanticFormField, componentMatcher);
409409
},
410410
);

0 commit comments

Comments
 (0)