nextjs-course-code icon indicating copy to clipboard operation
nextjs-course-code copied to clipboard

useSWR issue #2

Open Snyder4000 opened this issue 4 years ago • 1 comments

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' useSWR_error .

Snyder4000 avatar Feb 04 '22 17:02 Snyder4000

Hi !Maybe the SWR documentation can help you!Thank you! https://swr.vercel.app/docs/getting-started image

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' useSWR_error .

mumu-pika avatar Sep 14 '22 06:09 mumu-pika