Skip to content

Commit 6edb29d

Browse files
authored
fix: assign TFieldsValues to fieldsValues instead of transformedValues (#47)
1 parent e442fe6 commit 6edb29d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/useLens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { LensesStorage } from './LensesStorage';
66
import type { Lens } from './types';
77

88
export interface UseLensProps<TFieldValues extends FieldValues = FieldValues> {
9-
control: Control<any, any, TFieldValues>;
9+
control: Control<TFieldValues, any, any>;
1010
}
1111

1212
/**

0 commit comments

Comments
 (0)