We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b18781b commit d5d8482Copy full SHA for d5d8482
src/core/use-swr.ts
@@ -547,7 +547,6 @@ export const useSWRHandler = <Data = any, Error = any>(
547
548
// Similar to the global mutate but bound to the current cache and key.
549
// `cache` isn't allowed to change during the lifecycle.
550
- // eslint-disable-next-line react-hooks/exhaustive-deps
551
const boundMutate: SWRResponse<Data, Error>['mutate'] = useCallback(
552
// Use callback to make sure `keyRef.current` returns latest result every time
553
(...args: any[]) => {
0 commit comments