Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed app/src/lib/i18n/ar.ts,app/src/lib/i18n/bn.ts,app/src/lib/i18n/de.ts,app/src/li

Steven Enamakelfce84202fb81
diff --git a/app/src/lib/i18n/ar.ts b/app/src/lib/i18n/ar.ts
index afd959467a..2913770a05 100644
--- a/app/src/lib/i18n/ar.ts
+++ b/app/src/lib/i18n/ar.ts
@@ -1733,6 +1733,9 @@ const messages: TranslationMap = {
'about.update.status.error': 'فشل التحقق من التحديثات',
'about.update.status.default': 'التحقق من التحديثات',
'welcome.continueLocallyExperimental': 'المتابعة محليًا (تجريبي)',
+ 'auth.profileSwitch.title': 'هل تريد تسجيل الدخول بملف شخصي منفصل؟',
+ 'auth.profileSwitch.body': 'سيؤدي تسجيل الدخول السحابي إلى نقل OpenHuman إلى ملف حساب منفصل. ستظل محادثاتك وذاكرتك وإعدادات المزوّد المحلية على هذا الجهاز في users/{profileId}. للعودة إليها، سجّل الخروج واختر الجلسة المحلية من شاشة الترحيب.',
+ 'auth.profileSwitch.continue': 'متابعة تسجيل الدخول',
'welcome.localSessionStarting': 'بدء الجلسة المحلية...',
'welcome.coreConfigUnreadable':
'تعذّر على بيئة التشغيل قراءة ملف الإعدادات الخاص بها. قد يكون الملف config.toml مملوكًا لحساب مستخدم آخر، أو غير متاح لعملية التشغيل لسبب آخر. أعد تشغيل بيئة التشغيل، وإن لم يُجدِ ذلك فأصلح ملكية مجلد العمل أو أعد إنشاء وحدة التخزين الخاصة به.',
diff --git a/app/src/lib/i18n/bn.ts b/app/src/lib/i18n/bn.ts
index a7ff6cb6f8..7d643653b1 100644
--- a/app/src/lib/i18n/bn.ts
+++ b/app/src/lib/i18n/bn.ts
@@ -1765,6 +1765,9 @@ const messages: TranslationMap = {
'about.update.status.error': 'আপডেট পরীক্ষা ব্যর্থ',
'about.update.status.default': 'আপডেট পরীক্ষা করুন',
'welcome.continueLocallyExperimental': 'লোকালি চালিয়ে যান (প্রায়োগিক)',
+ 'auth.profileSwitch.title': 'আলাদা প্রোফাইলে সাইন ইন করবেন?',
+ 'auth.profileSwitch.body': 'ক্লাউডে সাইন ইন করলে OpenHuman আলাদা অ্যাকাউন্ট প্রোফাইলে যাবে। আপনার স্থানীয় কথোপকথন, মেমরি ও প্রদানকারী সেটিংস এই ডিভাইসের users/{profileId}-এ থাকবে। ফিরে যেতে সাইন আউট করে স্বাগতম স্ক্রিনে স্থানীয় সেশন বেছে নিন।',
+ 'auth.profileSwitch.continue': 'সাইন ইন চালিয়ে যান',
'welcome.localSessionStarting': 'স্থানীয় অধিবেশন শুরু করা হচ্ছে...',
'welcome.coreConfigUnreadable':
'রানটাইম তার কনফিগারেশন ফাইল পড়তে পারেনি। config.toml অন্য কোনো ব্যবহারকারী অ্যাকাউন্টের হতে পারে, অথবা অন্য কোনো কারণে রানটাইম প্রক্রিয়ার জন্য দুর্গম হতে পারে। রানটাইম পুনরায় চালু করুন, আর তাতে কাজ না হলে ওয়ার্কস্পেসের মালিকানা ঠিক করুন বা এর ভলিউম নতুন করে তৈরি করুন।',
diff --git a/app/src/lib/i18n/de.ts b/app/src/lib/i18n/de.ts
index 88959da098..274a3d5d3d 100644
--- a/app/src/lib/i18n/de.ts
+++ b/app/src/lib/i18n/de.ts
@@ -1821,6 +1821,9 @@ const messages: TranslationMap = {
'about.update.status.error': 'Die Aktualisierungsprüfung ist fehlgeschlagen',
'about.update.status.default': 'Nach Updates suchen',
'welcome.continueLocallyExperimental': 'Lokal fortfahren (Experimentell)',
+ 'auth.profileSwitch.title': 'Mit einem separaten Profil anmelden?',
+ 'auth.profileSwitch.body': 'Bei der Cloud-Anmeldung wechselt OpenHuman zu einem separaten Kontoprofil. Deine lokalen Unterhaltungen, dein Gedächtnis und deine Anbietereinstellungen bleiben auf diesem Gerät unter users/{profileId}. Um zurückzukehren, melde dich ab und wähle auf dem Willkommensbildschirm die lokale Sitzung.',
+ 'auth.profileSwitch.continue': 'Weiter zur Anmeldung',
'welcome.localSessionStarting': 'Lokal starten Sitzung...',
'welcome.coreConfigUnreadable':
'Die Laufzeitumgebung konnte ihre Konfigurationsdatei nicht lesen. config.toml gehört möglicherweise einem anderen Benutzerkonto oder ist für den Laufzeitprozess aus einem anderen Grund nicht zugänglich. Starten Sie die Laufzeitumgebung neu, und reparieren Sie andernfalls die Besitzrechte des Arbeitsverzeichnisses oder erstellen Sie dessen Volume neu.',
diff --git a/app/src/lib/i18n/en.ts b/app/src/lib/i18n/en.ts
index c7f6b55d4d..ff070e92be 100644
--- a/app/src/lib/i18n/en.ts
+++ b/app/src/lib/i18n/en.ts
@@ -2029,6 +2029,10 @@ const en: TranslationMap = {
// Welcome: connection error messages
'welcome.continueLocallyExperimental': 'Continue Locally (Experimental)',
+ 'auth.profileSwitch.title': 'Sign in with a separate profile?',
+ 'auth.profileSwitch.body':
+ 'Cloud sign-in switches OpenHuman to a separate account profile. Your local threads, memory, and provider settings remain on this device in users/{profileId}. To return to them, sign out and choose the local session on the Welcome screen.',
+ 'auth.profileSwitch.continue': 'Continue to sign in',
'welcome.localSessionStarting': 'Starting local session...',
'welcome.coreConfigUnreadable':
'The runtime could not read its configuration file. config.toml may belong to a different user account, or be inaccessible to the runtime process for another reason. Restart the runtime, and if that does not help, repair the workspace ownership or re-create its volume.',
diff --git a/app/src/lib/i18n/es.ts b/app/src/lib/i18n/es.ts
index 1e21a7c84e..729b93adb2 100644
--- a/app/src/lib/i18n/es.ts
+++ b/app/src/lib/i18n/es.ts
@@ -1803,6 +1803,9 @@ const messages: TranslationMap = {
'about.update.status.error': 'Error al verificar actualizaciones',
'about.update.status.default': 'Buscar actualizaciones',
'welcome.continueLocallyExperimental': 'Continuar localmente (Experimental)',
+ 'auth.profileSwitch.title': '¿Iniciar sesión con un perfil distinto?',
+ 'auth.profileSwitch.body': 'Al iniciar sesión en la nube, OpenHuman cambiará a un perfil de cuenta separado. Tus conversaciones, memoria y ajustes de proveedores locales seguirán en este dispositivo, en users/{profileId}. Para volver, cierra sesión y elige la sesión local en la pantalla de bienvenida.',
+ 'auth.profileSwitch.continue': 'Continuar con el inicio de sesión',
'welcome.localSessionStarting': 'Iniciando sesión local...',
'welcome.coreConfigUnreadable':
'El entorno de ejecución no pudo leer su archivo de configuración. Es posible que config.toml pertenezca a otra cuenta de usuario o que resulte inaccesible para el proceso por otro motivo. Reinicia el entorno de ejecución y, si eso no ayuda, repara la propiedad del espacio de trabajo o vuelve a crear su volumen.',
diff --git a/app/src/lib/i18n/fr.ts b/app/src/lib/i18n/fr.ts
index 8812297865..7d01b86e83 100644
--- a/app/src/lib/i18n/fr.ts
+++ b/app/src/lib/i18n/fr.ts
@@ -1813,6 +1813,9 @@ const messages: TranslationMap = {
'about.update.status.error': 'Échec de la vérification des mises à jour',
'about.update.status.default': 'Rechercher des mises à jour',
'welcome.continueLocallyExperimental': 'Continuer en local (Expérimental)',
+ 'auth.profileSwitch.title': 'Se connecter avec un profil distinct ?',
+ 'auth.profileSwitch.body': 'La connexion au cloud basculera OpenHuman vers un profil de compte distinct. Vos conversations, votre mémoire et vos réglages de fournisseurs locaux resteront sur cet appareil dans users/{profileId}. Pour y revenir, déconnectez-vous puis choisissez la session locale sur l’écran d’accueil.',
+ 'auth.profileSwitch.continue': 'Continuer la connexion',
'welcome.localSessionStarting': 'Démarrage de la session locale...',
'welcome.coreConfigUnreadable':
"L'environnement d'exécution n'a pas pu lire son fichier de configuration. config.toml appartient peut-être à un autre compte utilisateur, ou reste inaccessible au processus pour une autre raison. Redémarrez l'environnement d'exécution puis, si cela ne suffit pas, corrigez les droits du répertoire de travail ou recréez son volume.",
diff --git a/app/src/lib/i18n/hi.ts b/app/src/lib/i18n/hi.ts
index ebdb35845a..6c8bb92eaa 100644
--- a/app/src/lib/i18n/hi.ts
+++ b/app/src/lib/i18n/hi.ts
@@ -1768,6 +1768,9 @@ const messages: TranslationMap = {
'about.update.status.error': 'अपडेट चेक विफल',
'about.update.status.default': 'अपडेट चेक करें',
'welcome.continueLocallyExperimental': 'लोकल रूप से जारी रखें (प्रायोगिक)',
+ 'auth.profileSwitch.title': 'अलग प्रोफ़ाइल से साइन इन करें?',
+ 'auth.profileSwitch.body': 'क्लाउड साइन-इन OpenHuman को अलग खाते की प्रोफ़ाइल पर ले जाएगा। आपकी स्थानीय बातचीत, मेमोरी और प्रदाता सेटिंग्स इस डिवाइस पर users/{profileId} में रहेंगी। वापस जाने के लिए साइन आउट करें और स्वागत स्क्रीन पर स्थानीय सत्र चुनें।',
+ 'auth.profileSwitch.continue': 'साइन इन जारी रखें',
'welcome.localSessionStarting': 'स्थानीय सत्र प्रारंभ हो रहा है...',
'welcome.coreConfigUnreadable':
'रनटाइम अपनी कॉन्फ़िगरेशन फ़ाइल नहीं पढ़ सका। हो सकता है config.toml किसी दूसरे उपयोगकर्ता खाते का हो, या किसी अन्य कारण से रनटाइम प्रक्रिया के लिए दुर्गम हो। रनटाइम को पुनः आरंभ करें, और यदि इससे मदद न मिले तो वर्कस्पेस का स्वामित्व ठीक करें या उसका वॉल्यूम दोबारा बनाएँ।',
diff --git a/app/src/lib/i18n/id.ts b/app/src/lib/i18n/id.ts
index b7e8bc3128..86fcd4a601 100644
--- a/app/src/lib/i18n/id.ts
+++ b/app/src/lib/i18n/id.ts
@@ -1781,6 +1781,9 @@ const messages: TranslationMap = {
'about.update.status.error': 'Pemeriksaan pembaruan gagal',
'about.update.status.default': 'Periksa pembaruan',
'welcome.continueLocallyExperimental': 'Lanjutkan Secara Lokal (Eksperimental)',
+ 'auth.profileSwitch.title': 'Masuk dengan profil terpisah?',
+ 'auth.profileSwitch.body': 'Masuk ke cloud akan mengalihkan OpenHuman ke profil akun terpisah. Percakapan, memori, dan pengaturan penyedia lokal Anda tetap tersimpan di perangkat ini dalam users/{profileId}. Untuk kembali, keluar lalu pilih sesi lokal di layar Selamat Datang.',
+ 'auth.profileSwitch.continue': 'Lanjutkan masuk',
'welcome.localSessionStarting': 'Memulai sesi lokal...',
'welcome.coreConfigUnreadable':
'Runtime tidak dapat membaca berkas konfigurasinya. config.toml mungkin milik akun pengguna lain, atau tidak dapat diakses oleh proses runtime karena alasan lain. Mulai ulang runtime, dan jika belum teratasi, perbaiki kepemilikan direktori kerja atau buat ulang volumenya.',
diff --git a/app/src/lib/i18n/it.ts b/app/src/lib/i18n/it.ts
index ba6fbcf7c9..9b56342927 100644
--- a/app/src/lib/i18n/it.ts
+++ b/app/src/lib/i18n/it.ts
@@ -1801,6 +1801,9 @@ const messages: TranslationMap = {
'about.update.status.error': 'Verifica aggiornamento fallita',
'about.update.status.default': 'Verifica aggiornamenti',
'welcome.continueLocallyExperimental': 'Continua Localmente (Sperimentale)',
+ 'auth.profileSwitch.title': 'Accedere con un profilo separato?',
+ 'auth.profileSwitch.body': "L'accesso cloud sposterà OpenHuman su un profilo account separato. Le tue conversazioni, la memoria e le impostazioni dei provider locali resteranno su questo dispositivo in users/{profileId}. Per tornare, esci e scegli la sessione locale nella schermata di benvenuto.",
+ 'auth.profileSwitch.continue': "Continua con l'accesso",
'welcome.localSessionStarting': 'Avvio sessione locale...',
'welcome.coreConfigUnreadable':
'Il runtime non è riuscito a leggere il proprio file di configurazione. config.toml potrebbe appartenere a un altro account utente oppure essere inaccessibile al processo per un altro motivo. Riavvia il runtime e, se non basta, correggi la proprietà della cartella di lavoro o ricrea il suo volume.',
diff --git a/app/src/lib/i18n/ja.ts b/app/src/lib/i18n/ja.ts
index 5d6a60e3bf..67a557fe34 100644
--- a/app/src/lib/i18n/ja.ts
+++ b/app/src/lib/i18n/ja.ts
@@ -2022,6 +2022,9 @@ const messages: TranslationMap = {
// Welcome: connection error messages
'welcome.continueLocallyExperimental': 'ローカルで続行 (実験的)',
+ 'auth.profileSwitch.title': '別のプロフィールでサインインしますか?',
+ 'auth.profileSwitch.body': 'クラウドにサインインすると、OpenHuman は別のアカウントプロフィールに切り替わります。ローカルの会話、メモリ、プロバイダー設定はこのデバイスの users/{profileId} に残ります。戻るにはサインアウトし、ようこそ画面でローカルセッションを選択してください。',
+ 'auth.profileSwitch.continue': 'サインインを続ける',
'welcome.localSessionStarting': 'ローカルセッションを開始中...',
'welcome.coreConfigUnreadable':
'ランタイムが設定ファイルを読み取れませんでした。config.toml が別のユーザーアカウントに属しているか、ランタイムプロセスからアクセスできない可能性があります。ランタイムを再起動してください。それでも解決しない場合は、ワークスペースの所有権を修復するか、ボリュームを再作成してください。',
diff --git a/app/src/lib/i18n/ko.ts b/app/src/lib/i18n/ko.ts
index 2dd85833f5..c084cffba1 100644
--- a/app/src/lib/i18n/ko.ts
+++ b/app/src/lib/i18n/ko.ts
@@ -1754,6 +1754,9 @@ const messages: TranslationMap = {
'about.update.status.error': '업데이트 확인 실패',
'about.update.status.default': '업데이트 확인',
'welcome.continueLocallyExperimental': '로컬에서 계속(실험적)',
+ 'auth.profileSwitch.title': '별도 프로필로 로그인할까요?',
+ 'auth.profileSwitch.body': '클라우드에 로그인하면 OpenHuman이 별도의 계정 프로필로 전환됩니다. 로컬 대화, 메모리, 제공업체 설정은 이 기기의 users/{profileId}에 남아 있습니다. 돌아가려면 로그아웃한 다음 시작 화면에서 로컬 세션을 선택하세요.',
+ 'auth.profileSwitch.continue': '로그인 계속하기',
'welcome.localSessionStarting': '로컬 세션 시작 중...',
'welcome.coreConfigUnreadable':
'런타임이 자체 구성 파일을 읽지 못했습니다. config.toml이 다른 사용자 계정 소유이거나 다른 이유로 런타임 프로세스가 접근할 수 없는 상태일 수 있습니다. 런타임을 다시 시작하고, 그래도 해결되지 않으면 작업 디렉터리의 소유권을 복구하거나 볼륨을 다시 만드세요.',
diff --git a/app/src/lib/i18n/pl.ts b/app/src/lib/i18n/pl.ts
index 24f98ebbdc..f3657d434b 100644
--- a/app/src/lib/i18n/pl.ts
+++ b/app/src/lib/i18n/pl.ts
@@ -1786,6 +1786,9 @@ const messages: TranslationMap = {
'about.update.status.error': 'Sprawdzenie aktualizacji nie powiodło się',
'about.update.status.default': 'Sprawdź aktualizacje',
'welcome.continueLocallyExperimental': 'Kontynuuj lokalnie (Eksperymentalne)',
+ 'auth.profileSwitch.title': 'Zalogować się do osobnego profilu?',
+ 'auth.profileSwitch.body': 'Logowanie do chmury przełączy OpenHuman na osobny profil konta. Twoje lokalne rozmowy, pamięć i ustawienia dostawców pozostaną na tym urządzeniu w users/{profileId}. Aby do nich wrócić, wyloguj się i wybierz lokalną sesję na ekranie powitalnym.',
+ 'auth.profileSwitch.continue': 'Kontynuuj logowanie',
'welcome.localSessionStarting': 'Rozpoczynanie sesji lokalnej...',
'welcome.coreConfigUnreadable':
'Środowisko uruchomieniowe nie mogło odczytać swojego pliku konfiguracyjnego. Plik config.toml może należeć do innego konta użytkownika lub być niedostępny dla procesu z innego powodu. Uruchom ponownie środowisko, a jeśli to nie pomoże, napraw właściciela katalogu roboczego lub utwórz jego wolumin od nowa.',
diff --git a/app/src/lib/i18n/pt.ts b/app/src/lib/i18n/pt.ts
index d1e6f2451a..04571d54e0 100644
--- a/app/src/lib/i18n/pt.ts
+++ b/app/src/lib/i18n/pt.ts
@@ -1799,6 +1799,9 @@ const messages: TranslationMap = {
'about.update.status.error': 'Falha na verificação de atualização',
'about.update.status.default': 'Verificar atualizações',
'welcome.continueLocallyExperimental': 'Continuar Localmente (Experimental)',
+ 'auth.profileSwitch.title': 'Iniciar sessão com um perfil separado?',
+ 'auth.profileSwitch.body': 'O início de sessão na nuvem mudará o OpenHuman para um perfil de conta separado. As suas conversas, memória e definições locais de fornecedores continuarão neste dispositivo, em users/{profileId}. Para voltar, termine a sessão e escolha a sessão local no ecrã de boas-vindas.',
+ 'auth.profileSwitch.continue': 'Continuar sessão',
'welcome.localSessionStarting': 'Iniciando sessão local...',
'welcome.coreConfigUnreadable':
'O runtime não conseguiu ler o seu ficheiro de configuração. O config.toml pode pertencer a outra conta de utilizador ou estar inacessível ao processo por outro motivo. Reinicie o runtime e, se isso não resolver, corrija a propriedade da pasta de trabalho ou recrie o seu volume.',
diff --git a/app/src/lib/i18n/ru.ts b/app/src/lib/i18n/ru.ts
index 010c928393..071888d96b 100644
--- a/app/src/lib/i18n/ru.ts
+++ b/app/src/lib/i18n/ru.ts
@@ -1781,6 +1781,9 @@ const messages: TranslationMap = {
'about.update.status.error': 'Ошибка проверки обновлений',
'about.update.status.default': 'Проверить обновления',
'welcome.continueLocallyExperimental': 'Продолжить локально (Экспериментально)',
+ 'auth.profileSwitch.title': 'Войти с отдельным профилем?',
+ 'auth.profileSwitch.body': 'При входе в облако OpenHuman переключится на отдельный профиль аккаунта. Ваши локальные переписки, память и настройки провайдеров останутся на этом устройстве в users/{profileId}. Чтобы вернуться к ним, выйдите из аккаунта и выберите локальную сессию на экране приветствия.',
+ 'auth.profileSwitch.continue': 'Продолжить вход',
'welcome.localSessionStarting': 'Запуск локального сеанса...',
'welcome.coreConfigUnreadable':
'Среде выполнения не удалось прочитать свой файл конфигурации. Возможно, config.toml принадлежит другой учётной записи или недоступен процессу по иной причине. Перезапустите среду выполнения, а если это не поможет, исправьте владельца рабочего каталога или создайте его том заново.',
diff --git a/app/src/lib/i18n/tr.ts b/app/src/lib/i18n/tr.ts
index e7754b7b5c..d92a28a37b 100644
--- a/app/src/lib/i18n/tr.ts
+++ b/app/src/lib/i18n/tr.ts
@@ -1829,6 +1829,9 @@ const messages: TranslationMap = {
'about.update.status.error': 'Güncelleme denetimi başarısız oldu',
'about.update.status.default': 'Güncellemeleri denetle',
'welcome.continueLocallyExperimental': 'Yerel olarak devam et (Deneysel)',
+ 'auth.profileSwitch.title': 'Ayrı bir profille oturum açılsın mı?',
+ 'auth.profileSwitch.body': 'Bulut oturumu açıldığında OpenHuman ayrı bir hesap profiline geçer. Yerel konuşmalarınız, belleğiniz ve sağlayıcı ayarlarınız bu cihazda users/{profileId} konumunda kalır. Geri dönmek için oturumu kapatın ve Hoş Geldiniz ekranında yerel oturumu seçin.',
+ 'auth.profileSwitch.continue': 'Oturum açmaya devam et',
'welcome.localSessionStarting': 'Yerel oturum başlatılıyor...',
'welcome.coreConfigUnreadable':
'Çalışma zamanı yapılandırma dosyasını okuyamadı. config.toml farklı bir kullanıcı hesabına ait olabilir veya başka bir nedenle çalışma zamanı işlemi tarafından erişilemiyor olabilir. Çalışma zamanını yeniden başlatın; sorun devam ederse çalışma alanının sahipliğini düzeltin veya birimini yeniden oluşturun.',
diff --git a/app/src/lib/i18n/zh-CN.ts b/app/src/lib/i18n/zh-CN.ts
index 94c99ca531..f957c27a69 100644
--- a/app/src/lib/i18n/zh-CN.ts
+++ b/app/src/lib/i18n/zh-CN.ts
@@ -1644,6 +1644,9 @@ const messages: TranslationMap = {
'about.update.status.error': '更新检查失败',
'about.update.status.default': '检查更新',
'welcome.continueLocallyExperimental': '本地继续(实验性)',
+ 'auth.profileSwitch.title': '使用单独的个人资料登录?',
+ 'auth.profileSwitch.body': '云端登录会将 OpenHuman 切换到单独的账户资料。您的本地对话、记忆和提供商设置仍保存在此设备的 users/{profileId} 中。要返回这些数据,请先退出登录,然后在欢迎界面选择本地会话。',
+ 'auth.profileSwitch.continue': '继续登录',
'welcome.localSessionStarting': '正在启动本地会话...',
'welcome.coreConfigUnreadable':
'运行时无法读取自己的配置文件。config.toml 可能归属于其他用户账户,或因其他原因无法被运行时进程访问。请重启运行时;若仍未解决,请修复工作目录的归属权或重新创建其数据卷。',
diff --git a/app/src/pages/Welcome.tsx b/app/src/pages/Welcome.tsx
index 6ca989d7bb..d1119892e3 100644
--- a/app/src/pages/Welcome.tsx
+++ b/app/src/pages/Welcome.tsx
@@ -11,6 +11,7 @@ import { useCoreState } from '../providers/CoreStateProvider';
import { clearBackendUrlCache } from '../services/backendUrl';
import { clearCoreRpcTokenCache, clearCoreRpcUrlCache } from '../services/coreRpcClient';
import { resetCoreMode } from '../store/coreModeSlice';
+import { getActiveUserId } from '../store/userScopedStorage';
import {
endAwaitingAuthCallback,
getDeepLinkAuthState,
@@ -31,12 +32,17 @@ import { openUrl } from '../utils/openUrl';
const log = createDebug('app:welcome');
/** The sign-in buttons, shared by the TinyHumans card and the hand-off panel. */
-const ProviderButtons = () => (
+const ProviderButtons = ({ localProfileId }: { localProfileId: string | null }) => (
<div className="flex flex-wrap items-center justify-center gap-3">
{oauthProviderConfigs
.filter(provider => provider.showOnWelcome)
.map(provider => (
- <OAuthProviderButton key={provider.id} provider={provider} className="rounded-full!" />
+ <OAuthProviderButton
+ key={provider.id}
+ provider={provider}
+ className="rounded-full!"
+ localProfileId={localProfileId}
+ />
))}
</div>
);
@@ -364,7 +370,7 @@ const Welcome = () => {
{t('welcome.th.providers')}
</p>
<div data-testid="welcome-cta-tinyhumans">
- <ProviderButtons />
+ <ProviderButtons localProfileId={getActiveUserId()} />
</div>
</div>
</div>