allow app to ready on init failures.

This commit is contained in:
Katalina / stardust 2017-12-31 13:18:15 -06:00
parent 3d07efb5fa
commit 8227a3b00b

View file

@ -22,9 +22,12 @@ export const userInit = async dispatch => {
type: Symbol.for('set user'),
data: rsp.body
})
dispatch(fetchServers)
} catch (e) {
dispatch({
type: Symbol.for('app ready')
})
// window.location.href = '/oauth/flow'
}
} else {