Skip to content

Commit 1cf18c9

Browse files
committed
fix: remove useIdentifyRef
1 parent a2dfa1a commit 1cf18c9

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

util/refHooks.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,3 @@ export const useIsEqualRef = <T extends HasIsEqual<T>>(
4040
): RefHook<T | null | undefined> => {
4141
return useComparatorRef(value, isEqual, onChange);
4242
};
43-
44-
export const useIdentifyRef = <T>(
45-
value: T | null | undefined,
46-
onChange?: () => void
47-
): RefHook<T | null | undefined> => {
48-
return useComparatorRef(value, (v1, v2) => v1 === v2, onChange);
49-
};

0 commit comments

Comments
 (0)