mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-14 23:07:01 +10:00
update dependencies
This commit is contained in:
@@ -16,7 +16,6 @@ export function Header() {
|
||||
const ticking = useRef(false);
|
||||
const springY = useSpring(y, { stiffness: 300, damping: 40 });
|
||||
|
||||
// biome-ignore lint/correctness/useExhaustiveDependencies: not required to be exhaustive
|
||||
useEffect(() => {
|
||||
if (typeof window === "undefined") return;
|
||||
|
||||
|
||||
@@ -57,7 +57,6 @@ function composeRefs<T>(...refs: PossibleRef<T>[]): React.RefCallback<T> {
|
||||
* Accepts callback refs and RefObject(s)
|
||||
*/
|
||||
function useComposedRefs<T>(...refs: PossibleRef<T>[]): React.RefCallback<T> {
|
||||
// biome-ignore lint/correctness/useExhaustiveDependencies: we want to memoize by all values
|
||||
return useCallback(composeRefs(...refs), refs);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user