Skip to content

Commit dcda636

Browse files
committed
fix lint error
1 parent 1b0eceb commit dcda636

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/use-swr.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ export const useSWRHandler = <Data = any, Error = any>(
164164
? memorizedSnapshot
165165
: (memorizedSnapshot = snapshot)
166166
}
167+
// eslint-disable-next-line react-hooks/exhaustive-deps
167168
}, [cache, key])
168169

169170
// Get the current state that SWR should return.

0 commit comments

Comments
 (0)