mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 04:09:12 +00:00
allow app to ready on init failures.
This commit is contained in:
parent
3d07efb5fa
commit
8227a3b00b
1 changed files with 4 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue