error handling
This commit is contained in:
parent
6898df690e
commit
07c77fef48
@ -97,6 +97,12 @@ class Main extends Component {
|
||||
window.open(data.redirect ,"_self")
|
||||
}
|
||||
}
|
||||
}).catch((error) => {
|
||||
this.setState({
|
||||
progress: false,
|
||||
text: "Chyba: " + error.status +", " + error.statusText,
|
||||
status: "failed",
|
||||
})
|
||||
});
|
||||
}
|
||||
togglefaq(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user