diff --git a/packages/extension-koni-ui/src/Popup/Home/MyProfile/index.tsx b/packages/extension-koni-ui/src/Popup/Home/MyProfile/index.tsx index fbac1a67e0..6f5e50062d 100644 --- a/packages/extension-koni-ui/src/Popup/Home/MyProfile/index.tsx +++ b/packages/extension-koni-ui/src/Popup/Home/MyProfile/index.tsx @@ -109,7 +109,7 @@ const MyProfile = styled(Component)(({ theme: { extendToken, token } height: '100%', '.__profile-container': { flex: 1, - overflow: 'auto', + overflow: 'auto' }, '.__padding-area': { position: 'fixed', diff --git a/packages/extension-koni-ui/src/Popup/Root.tsx b/packages/extension-koni-ui/src/Popup/Root.tsx index 46e4f6f9d0..5d2e13c13a 100644 --- a/packages/extension-koni-ui/src/Popup/Root.tsx +++ b/packages/extension-koni-ui/src/Popup/Root.tsx @@ -296,7 +296,7 @@ const authConfig: TAuthConfig = { redirectUri: AUTHENTICATE_REDIRECT_URI, logoutEndpoint: LOGOUT_ENDPOINT, logoutRedirect: AUTHENTICATE_LOGOUT_REDIRECT, - postLogin: () => { + preLogin: () => { localStorage.setItem(LOCAL_LOGGED_IN_PROMISE_KEY, 'login'); }, autoLogin: false,