chrvadala / react-svg-pan-zoom

:eyes: A React component that adds pan and zoom features to SVG
https://chrvadala.github.io/react-svg-pan-zoom/
MIT License
684 stars 126 forks source link

Remove unused import "tipNoViewer" from index.js #217

Closed hydroxycarbamide closed 1 year ago

hydroxycarbamide commented 1 year ago

This pull request fixes the following error :

Error: Build failed with 1 error:
node_modules/.pnpm/react-svg-pan-zoom@3.12.0/node_modules/react-svg-pan-zoom/build-es/index.js:1:9: ERROR: No matching export in "node_modules/.pnpm/react-svg-pan-zoom@3.12.0/node_modules/react-svg-pan-zoom/build-es/migration-tips.js" for import "tipNoViewer"

It removes the unused imported "tipNoViewer" which was previously used as an error message showing the documentation for v1 to v2 migration. Which was also removed in the commit becc3c7

chrvadala commented 1 year ago

Thanks for your contribution. PR Approved and ready for merge

chrvadala commented 1 year ago

Released with v3.12.1 @Hydroxycarbamide I added you into contributors list. Thanks for your help ;)