mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 06:37:56 +01:00
Fix redirection to maps/
This commit is contained in:
parent
fb90c876e4
commit
3e9d088a01
@ -42,7 +42,7 @@ const RegistrationCallbackPage = (): React.ReactElement => {
|
||||
.then((result) => {
|
||||
if (result.googleSync) {
|
||||
// if service reports that user already has sync accounts, go to maps page
|
||||
navigate('/c/maps');
|
||||
navigate('/c/maps/');
|
||||
}
|
||||
setCallbackResult(result);
|
||||
})
|
||||
@ -57,7 +57,7 @@ const RegistrationCallbackPage = (): React.ReactElement => {
|
||||
client
|
||||
.confirmAccountSync(callbackResult.email, callbackResult.syncCode)
|
||||
.then(() => {
|
||||
navigate('/c/maps');
|
||||
navigate('/c/maps/');
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log('ERROR', error);
|
||||
|
Loading…
Reference in New Issue
Block a user