mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-17 10:39:09 +00:00
fix redirects, fix server syncs on join
This commit is contained in:
parent
032831aff1
commit
f7238ab091
14 changed files with 132 additions and 101 deletions
|
@ -39,7 +39,10 @@ export const userInit = async dispatch => {
|
|||
}
|
||||
|
||||
export const userLogout = async dispatch => {
|
||||
await superagent.post('/api/auth/logout')
|
||||
try {
|
||||
await superagent.post('/api/auth/logout')
|
||||
} catch (e) {
|
||||
}
|
||||
|
||||
dispatch({
|
||||
type: Symbol.for('reset user')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue