fix: telegram oauth in logged in email account

This commit is contained in:
3252a8
2026-05-22 17:48:17 +03:00
parent 835436fa1a
commit 72921b9a8f
2 changed files with 14 additions and 5 deletions
+3 -2
View File
@@ -194,7 +194,7 @@
showLogin,
telegramSdk,
getTg: () => tg,
telegramOAuthClientId,
telegramOAuthClientId: () => telegramOAuthClientId,
currentLang: () => currentLang,
normalizeLangCode,
updateLocalData: (updatedLanguage) => {
@@ -1443,7 +1443,8 @@
{userAgreementUrl}
{userLanguage}
showLogout={!telegramMiniAppContext}
linkTelegramAccount={accountStore.linkTelegramAccount}
linkTelegramAccount={() =>
accountStore.linkTelegramAccount(() => telegramMiniAppInitData)}
logout={accountStore.logout}
{openAdminPanel}
{openExternalLink}