Skip to content

Commit

Permalink
馃敡 chore: remove todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Moshyfawn committed Mar 13, 2024
1 parent ac9e883 commit c7bd545
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/logic/createFormControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,6 @@ export function createFormControl<
const trigger: UseFormTrigger<TFieldValues> = async (name, options = {}) => {
let isValid;
let validationResult;
// TODO: get all field names here somehow
const fieldNames = convertToArrayPayload(
name ?? Array.from(_names.mount),
) as InternalFieldName[];
Expand Down

0 comments on commit c7bd545

Please sign in to comment.