GH-2551 - Update correct routes after welcome page (#2644)
* update correct routes after welcome page * fix unit tests
This commit is contained in:
parent
c336f06f19
commit
f7fe5df8e8
1 changed files with 5 additions and 2 deletions
|
@ -48,8 +48,11 @@ const WelcomePage = () => {
|
|||
history.replace(queryString.get('r')!)
|
||||
return
|
||||
}
|
||||
|
||||
history.replace(`/team/${currentTeam?.id}`)
|
||||
if (currentTeam) {
|
||||
history.replace(`/team/${currentTeam?.id}`)
|
||||
} else {
|
||||
history.replace('/')
|
||||
}
|
||||
}
|
||||
|
||||
const skipTour = async () => {
|
||||
|
|
Loading…
Reference in a new issue