Update to latest eslint-plugin-react-hooks (#36702)
Co-authored-by: diondiondion <mail@diondiondion.com>
This commit is contained in:
1 parent
4ddddc2573
commit
9addad8ce5
27 files changed
+382
-320
No files matched your search
@@ -86,6 +86,7 @@ export const ScrollContext: React.FC<ScrollContextProps> = ({
|
||||
) =>
|
||||
// Hack to allow accessing scrollBehavior._stateStorage
|
||||
shouldUpdateScroll.call(
|
||||
// eslint-disable-next-line react-hooks/immutability
|
||||
scrollBehavior,
|
||||
prevLocationContext,
|
||||
locationContext,
|
||||
|
||||
Reference in new issue
Block a user