Skip to content

Commit

Permalink
Merge branch 'develop' into bug/1903
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacper-RF committed Nov 29, 2023
2 parents d0bd25b + faca03b commit 87ea1aa
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ export function* redirectionSaga(): Generator {

// If user doesn't belong to a community, wait for websocket connection and redirect to welcome screen
console.log('INIT_NAVIGATION: Waiting for websocket connection before proceeding.')
yield* take(initActions.setWebsocketConnected)
const connection = yield* select(initSelectors.isWebsocketConnected)
if (!connection) {
yield* take(initActions.setWebsocketConnected)
}

console.log('INIT_NAVIGATION: Switching to the join community screen.')
yield* put(
Expand Down

0 comments on commit 87ea1aa

Please sign in to comment.