Fix type and lint errors

This commit is contained in:
Robin Townsend
2023-02-13 21:57:57 -05:00
parent 69e6ba93c1
commit 58ed372afa
8 changed files with 63 additions and 49 deletions

View File

@@ -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
);