react-simple-maps
react-simple-maps copied to clipboard
Update useZoomPan.js
fix typo, translateExtent([[a1, a1], [b1, b2]]) should be translateExtent([[a1, a2], [b1, b2]])
@zimrick Would you be able to approve this PR?
Thank you for the contribution @jinyanghuang, much appreciated! I believe this issue was resolved by @CheerfulMushroom back in August 2020. It was merged and should work fine in v2.2.0 and the current version.