improve(core-blocks): CB-558 remove extra code

This commit is contained in:
Naumov Alexey
2020-11-26 17:05:50 +03:00
parent d6824e55c3
commit fcf7399d17
@@ -48,10 +48,6 @@ const RenderField: React.FC<RenderFieldProps> = observer(function RenderField({
const password = property.features.includes('password');
let description: string | undefined;
if (autoHide && !isControlPresented(property.id!, state)) {
return null;
}
if (href) {
return (
<FormFieldDescription label={property.displayName} raw>