mirror of
https://github.com/responsively-org/responsively-app
synced 2024-11-10 14:54:12 +00:00
Webview error overlay bug fix
This commit is contained in:
parent
224231ecc1
commit
788f3d4c8f
1 changed files with 4 additions and 0 deletions
|
@ -96,6 +96,10 @@ class WebView extends Component {
|
|||
this.webviewRef.current.addEventListener(
|
||||
'did-fail-load',
|
||||
({errorCode, errorDescription}) => {
|
||||
if (errorCode === -3) {
|
||||
//Aborted error, can be ignored
|
||||
return;
|
||||
}
|
||||
this.setState({errorCode: errorCode, errorDesc: errorDescription});
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue