Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nkdengineer committed Jun 3, 2024
1 parent a7fb548 commit 6d3a233
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Form/FormProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,7 @@ function FormProvider(
(Object.keys(errorFields)
.sort()
.map((key) => errorFields[key])
// eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style
.at(-1) as string) ?? '';
.at(-1)) ?? '';

const inputRef = inputProps.ref;

Expand Down

0 comments on commit 6d3a233

Please sign in to comment.