Skip to content

Commit 49ff3c3

Browse files
committed
revert useCombinedRefs (#2882)
1 parent bf7fe36 commit 49ff3c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useCombinedRefs/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const useCombinedRefs = (...refs: React.Ref<any>[]) => {
1515
ref.current = targetRef.current;
1616
}
1717
});
18-
}, refs);
18+
}, [refs]);
1919

2020
return targetRef;
2121
};

0 commit comments

Comments
 (0)