Skip to content

Commit d5d8482

Browse files
authored
chore: remove useless comment (#2868)
1 parent b18781b commit d5d8482

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: src/core/use-swr.ts

-1
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,6 @@ export const useSWRHandler = <Data = any, Error = any>(
547547

548548
// Similar to the global mutate but bound to the current cache and key.
549549
// `cache` isn't allowed to change during the lifecycle.
550-
// eslint-disable-next-line react-hooks/exhaustive-deps
551550
const boundMutate: SWRResponse<Data, Error>['mutate'] = useCallback(
552551
// Use callback to make sure `keyRef.current` returns latest result every time
553552
(...args: any[]) => {

0 commit comments

Comments
 (0)