diff options
Diffstat (limited to 'src/screens')
-rw-r--r-- | src/screens/Login/ChooseAccountForm.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screens/Login/ChooseAccountForm.tsx b/src/screens/Login/ChooseAccountForm.tsx index b02b8e162..8c002b160 100644 --- a/src/screens/Login/ChooseAccountForm.tsx +++ b/src/screens/Login/ChooseAccountForm.tsx @@ -26,7 +26,7 @@ export const ChooseAccountForm = ({ const {track, screen} = useAnalytics() const {_} = useLingui() const {currentAccount} = useSession() - const {initSession} = useSessionApi() + const {resumeSession} = useSessionApi() const {setShowLoggedOut} = useLoggedOutViewControls() React.useEffect(() => { @@ -51,7 +51,7 @@ export const ChooseAccountForm = ({ } try { setPendingDid(account.did) - await initSession(account) + await resumeSession(account) logEvent('account:loggedIn', { logContext: 'ChooseAccountForm', withPassword: false, @@ -71,7 +71,7 @@ export const ChooseAccountForm = ({ [ currentAccount, track, - initSession, + resumeSession, pendingDid, onSelectAccount, setShowLoggedOut, |