Update eslint (non-major) (#39797)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: diondiondion <mail@diondiondion.com>
This commit is contained in:
1 parent
4ebd3e5491
commit
54b1dd7ae3
14 files changed
+819
-278
No files matched your search
@@ -74,6 +74,7 @@ export const ScrollContext: React.FC<ScrollContextProps> = ({
|
||||
* than a ref to simplify the types and ensure it's defined immediately.
|
||||
*/
|
||||
const [scrollBehavior] = useState(
|
||||
// eslint-disable-next-line react-hooks/refs
|
||||
(): ScrollBehaviorInstance =>
|
||||
new ScrollBehavior({
|
||||
addNavigationListener: history.listen.bind(history),
|
||||
|
||||
Reference in new issue
Block a user