react-image-magnify icon indicating copy to clipboard operation
react-image-magnify copied to clipboard

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

Open sumitsk2 opened this issue 2 years ago • 1 comments

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)

sumitsk2 avatar Jan 17 '23 07:01 sumitsk2

i am getting this too

miraj09 avatar Sep 13 '23 09:09 miraj09