Skip to content

Commit 75a73cf

Browse files
committed
chore: fix linting
1 parent 232740c commit 75a73cf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/form-core/src/FormApi.ts

-2
Original file line numberDiff line numberDiff line change
@@ -547,14 +547,12 @@ export class FormApi<TFormData, ValidatorType> {
547547
}
548548

549549
deleteField = <TField extends DeepKeys<TFormData>>(field: TField) => {
550-
551550
this.store.setState((prev) => {
552551
const newState = { ...prev }
553552
delete newState.values[field as keyof TFormData]
554553
delete newState.fieldMeta[field]
555554
return newState
556555
})
557-
558556
}
559557

560558
pushFieldValue = <TField extends DeepKeys<TFormData>>(

0 commit comments

Comments
 (0)