From 3e9d088a012414cf264f4ad90b749341abdfe920 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Mon, 2 Jan 2023 20:50:35 -0800 Subject: [PATCH] Fix redirection to maps/ --- .../webapp/src/components/registration-callback/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/webapp/src/components/registration-callback/index.tsx b/packages/webapp/src/components/registration-callback/index.tsx index 3c451d72..71248eb9 100644 --- a/packages/webapp/src/components/registration-callback/index.tsx +++ b/packages/webapp/src/components/registration-callback/index.tsx @@ -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);