react-instagram-embed icon indicating copy to clipboard operation
react-instagram-embed copied to clipboard

`onSuccess` is being called with an error instead of `onFailure`

Open delki8 opened this issue 3 years ago • 0 comments

The onSuccess callback is being called after an error while loading the Instagram URL. Additionally, the error is still propagated to the browser instead of being swallowed by the callback.

image

delki8 avatar Jun 22 '21 22:06 delki8