ant-design / pro-components

πŸ† Use Ant Design like a Pro!
https://pro-components.antdigital.dev
MIT License
4.04k stars 1.29k forks source link

πŸ›[BUG] Attempted import error: 'swr' does not contain a default export (imported as 'useSWR'). #8265

Closed tnduc closed 1 month ago

tnduc commented 1 month ago

πŸ› bug 描述

I use Nextjs 14.1.4. When I run command run npm run build but get this error

image

Β© η‰ˆζœ¬δΏ‘ζ―

image

Node: v21.7.1