kopia lustrzana https://github.com/cheeaun/phanpy
Fix info stays when there's error
rodzic
719a407414
commit
ad13f90374
|
@ -45,9 +45,11 @@ function Account({ account, instance: propInstance, onClose }) {
|
|||
setUIState('default');
|
||||
return;
|
||||
}
|
||||
setInfo(null);
|
||||
setUIState('error');
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
setInfo(null);
|
||||
setUIState('error');
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue