react-new-window
react-new-window copied to clipboard
fix: remove unnecessary code which prevents onBlock to be invoked
Fix for the issue #152
The deleted line seems to be unnecessary and it will fail when the browser is blocking the popup/tab opening.
This will result in the onBlock callback to never be called
Please merge this
@rmariuzzo Would it be possible to merge these changes to address the issue? I’d really appreciate it :) thanks!