Revert eslint upgrade, fix linting

This commit is contained in:
Jamie Curnow
2024-05-08 11:28:16 +10:00
parent fb880616c7
commit ae9504584c
6 changed files with 233 additions and 170 deletions

View File

@@ -62,7 +62,7 @@ function DNSProviderField() {
{!isLoading && !data?.total
? intl.formatMessage({
id: "dns-providers.empty",
})
})
: form.errors[fieldName]}
</FormErrorMessage>
</FormControl>

View File

@@ -111,7 +111,7 @@ function DomainNamesField({
{helperTexts.length
? helperTexts.map((i) => {
return <FormHelperText key={i}>{i}</FormHelperText>;
})
})
: null}
<FormErrorMessage>{form.errors.domainNames}</FormErrorMessage>
</FormControl>

View File

@@ -288,7 +288,7 @@ function DNSProviderCreateModal({
)}
</Field>
);
})
})
: null}
</>
) : null}