feat: use eslint with prettier to format code

This commit is contained in:
Valeriy
2019-02-19 01:59:12 +03:00
committed by mrugesh mohapatra
parent be36915605
commit fc8c71ad16
70 changed files with 254 additions and 236 deletions

View File

@@ -50,7 +50,7 @@ export function DynamicForm({
id={`dynamic-${id}`}
onSubmit={handleSubmit(submit)}
style={{ width: '100%' }}
>
>
<FormFields errors={errors} fields={fields} options={options} />
<BlockSaveWrapper>
{hideButton ? null : (
@@ -59,7 +59,7 @@ export function DynamicForm({
(allPristine && !enableSubmit) ||
!!Object.keys(errors).filter(key => errors[key]).length
}
>
>
{buttonText ? buttonText : null}
</BlockSaveButton>
)}