lint again

pull/21833/head
Matthew Hodgson 2020-11-09 01:16:58 +00:00
parent 2cac5f05a1
commit ef09ff6615
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ export interface IValidationResult {
* the overall validity and a feedback UI that can be rendered for more detail.
*/
export default function withValidation<T = undefined, D = void>({
description, hideDescriptionIfValid, deriveData, rules
description, hideDescriptionIfValid, deriveData, rules,
}: IArgs<T, D>) {
return async function onValidate({ value, focused, allowEmpty = true }: IFieldState): Promise<IValidationResult> {
if (!value && allowEmpty) {