Fix type and lint errors
This commit is contained in:
@@ -12,5 +12,8 @@ export const useMergedRefs = <T>(
|
||||
ref.current = value;
|
||||
}
|
||||
}),
|
||||
// Since this isn't an array literal, we can't use the static dependency
|
||||
// checker, but that's okay
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
refs
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user