Skip to content

Commit

Permalink
[FIX] App connects to previous server instead of the recent added (#518)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolmello authored Oct 31, 2018
1 parent e7277be commit 1c9aa9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/sagas/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1c9aa9b

Please sign in to comment.