nextjs-course-code
nextjs-course-code copied to clipboard
useSWR issue #2
I'm finding that, even though I've gone through the npm install swr command twice, I'm getting an error for ./pages/events/[..slug].js. The error says Attempted import error: 'useSWR' is not exported from 'swr'
.
Hi !Maybe the SWR documentation can help you!Thank you!
https://swr.vercel.app/docs/getting-started

I'm finding that, even though I've gone through the npm install swr command twice, I'm getting an error for ./pages/events/[..slug].js. The error says Attempted import error: 'useSWR' is not exported from 'swr'
.