ethanselzer / react-image-magnify

A responsive image zoom component designed for shopping sites.
https://ethanselzer.github.io/react-image-magnify
MIT License
643 stars 160 forks source link

Should not import the named export 'SET_ACTIVATION_TIMER_NAME' (imported as 'constants') from default-exporting module (only default export is available soon) #162

Open sumitsk2 opened 1 year ago

sumitsk2 commented 1 year ago

Environment: React 18.2 Next js 12.1.6 Node 18.3 "react-image-magnify": "^2.1.1",

Getting this warning in the console while running the app.

./node_modules/react-image-magnify/node_modules/react-cursor-position/dist/es/ReactCursorPosition.js
Should not import the named export 'SET_ACTIVATION_TIMER_NAME' (imported as 'constants') from default-exporting module (only default export is available soon)
miraj09 commented 1 year ago

i am getting this too