Fix PR feedback

Signed-off-by: soupette <cyril.lpz@gmail.com>
This commit is contained in:
soupette 2020-06-26 17:45:59 +02:00 committed by Alexandre Bodin
parent 196a624847
commit b8428bc4b0
2 changed files with 1 additions and 2 deletions

View File

@ -86,7 +86,7 @@ const DynamicZone = ({
return (
<DynamicZoneWrapper>
{dynamicDisplayedComponents.length > 0 && (
{dynamicDisplayedComponentsLength > 0 && (
<Label>
<p>{metas.label}</p>
<p>{metas.description}</p>

View File

@ -178,7 +178,6 @@ function Inputs({ autoFocus, keys, layout, name, onBlur, formErrors, onChange, v
{...metadatas}
autoComplete="new-password"
autoFocus={autoFocus}
// didCheckErrors={didCheckErrors}
disabled={disabled}
error={
isEmpty(error) || errorId === temporaryErrorIdUntilBuffetjsSupportsFormattedMessage