[FIX] App connects to previous server instead of the recent added (#518)

This commit is contained in:
Diego Mello 2018-10-31 15:41:56 -03:00 committed by GitHub
parent e7277be004
commit 1c9aa9bf33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -48,11 +48,11 @@ const handleLoginSuccess = function* handleLoginSuccess() {
} else {
yield delay(300);
if (adding) {
yield put(serverFinishAdd());
yield Navigation.dismissAllModals();
} else {
yield put(appStart('inside'));
}
yield put(serverFinishAdd());
}
} catch (e) {
log('handleLoginSuccess', e);