useSWRConfig can't be imported #1501
Unanswered
sanjayrjs16
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Which version are you using? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to import
useSWRConfig
to make uses ofmutate
function.import useSWR, { useSWRConfig } from 'swr';
But I get the following error
Still not working when I tried
import useSWRConfig from "swr"
.Am I missing something here ?
Beta Was this translation helpful? Give feedback.
All reactions