Fix promise rejection warning
This commit is contained in:
父節點
c522a410ab
當前提交
956d78ad7f
共有 1 個文件被更改,包括 3 次插入 和 1 次删除
4
App.js
4
App.js
|
@ -165,7 +165,9 @@ export default class App extends React.Component<null, StateType> {
|
|||
*/
|
||||
loadAssetsAsync = async () => {
|
||||
await AsyncStorageManager.getInstance().loadPreferences();
|
||||
await ConnectionManager.getInstance().recoverLogin();
|
||||
await ConnectionManager.getInstance()
|
||||
.recoverLogin()
|
||||
.catch(() => {});
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
載入中…
Reference in a new issue