Closed shoesandsocks closed 6 years ago
one solution may be to return history.go(-2);
instead of pushing '/' onto history. exploring better option though. Need the branch that reworks initial signup to be merged before fixing this.
while on this issue let's look at where a new user lands on first login. Should be on Profile instead of Splash?
I made a tweak to your 34-redirect
branch, that avoids the brief display of the Splash page before the history.go
function redirects the user. just return
ing the axios call, to avoid the return at the end of the function (which is now unreachable, so i deleted it)
I think that one's ready to merge too.
Currently login always returns user to root. This is fixable with some react-router work, I think.