From f5329f65985fa160399af494550fae7f151ec0e1 Mon Sep 17 00:00:00 2001 From: undefined Date: Mon, 13 Jul 2020 15:43:18 +0700 Subject: [PATCH] chore: #1997 revert unused changes --- .../developer-portal/src/components/pages/login/login.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/developer-portal/src/components/pages/login/login.tsx b/packages/developer-portal/src/components/pages/login/login.tsx index c4c1c503b3..8e99915b5c 100644 --- a/packages/developer-portal/src/components/pages/login/login.tsx +++ b/packages/developer-portal/src/components/pages/login/login.tsx @@ -33,8 +33,8 @@ export const handleShowNotificationAfterPasswordChanged = ( export const onLoginButtonClick = (isFirtTimeLogin: boolean) => { return () => { - // const redirectRoute = getDefaultRoute(isFirtTimeLogin) - redirectToLogin(window.reapit.config.cognitoClientId, 'http://localhost:8080/developer/apps', 'DEVELOPER') + const redirectRoute = getDefaultRoute(isFirtTimeLogin) + redirectToLogin(window.reapit.config.cognitoClientId, redirectRoute, 'DEVELOPER') } }