Skip to content

Commit d603ef3

Browse files
authored
fix(react): trailing spaces
This is a little unnecessary, too strict for lacking popularity
1 parent 2b982d1 commit d603ef3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/react-form-renderer/src/form-renderer/form-renderer.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,18 +107,16 @@ const FormRenderer = ({
107107
},
108108
}}
109109
>
110-
{typeof children === 'function' ? (
111-
children({schema, formFields: renderForm(schema.fields)})
112-
) : (
110+
{typeof children === 'function' ? children({schema, formFields: renderForm(schema.fields)}) : (
113111
<React.Fragment>
114-
<FormTemplate
112+
<FormTemplate
115113
formFields={renderForm(schema.fields)}
116114
schema={schema}
117115
{...FormTemplateProps}
118116
/>
119117
{children}
120118
</React.Fragment>
121-
)}
119+
)}
122120
</RendererContext.Provider>
123121
)}
124122
/>

0 commit comments

Comments
 (0)