We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f27312b commit 93de694Copy full SHA for 93de694
src/Shared/Components/FormFieldWrapper/FormFieldWrapper.tsx
@@ -33,7 +33,7 @@ const FormFieldWrapper = ({
33
}: Required<FormFieldWrapperProps>) => {
34
const isRowLayout = layout === 'row'
35
const itemContainerClassName = isRowLayout ? 'dc__mxw-250 w-100 mxh-36 dc__align-self-stretch' : ''
36
- const formError = Array.isArray(error) ? error?.[0] : error
+ const formError = Array.isArray(error) ? error[0] : error
37
38
return (
39
<div className={`flex left column top dc__gap-4 ${fullWidth ? 'w-100' : ''}`}>
0 commit comments