From b4946f7a060ae1115f31edb4f695d30591ef565a Mon Sep 17 00:00:00 2001 From: "web@ppanel" Date: Mon, 10 Feb 2025 23:12:43 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(third-party-accounts):=20Rem?= =?UTF-8?q?ove=20mobile=20display=20logic=20from=20third-party=20accounts?= =?UTF-8?q?=20component?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../user/app/(main)/(user)/profile/third-party-accounts.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/user/app/(main)/(user)/profile/third-party-accounts.tsx b/apps/user/app/(main)/(user)/profile/third-party-accounts.tsx index 9c1ee08..4e355d3 100644 --- a/apps/user/app/(main)/(user)/profile/third-party-accounts.tsx +++ b/apps/user/app/(main)/(user)/profile/third-party-accounts.tsx @@ -244,12 +244,6 @@ export default function ThirdPartyAccounts() { case 'email': displayValue = isEditing ? currentValue : method?.auth_identifier || ''; break; - case 'mobile': - displayValue = - method?.area_code && method?.auth_identifier - ? `${method?.area_code || ''} ${method?.auth_identifier || ''}` - : t(`${account.id}.description`); - break; default: displayValue = method?.auth_identifier || t(`${account.id}.description`); }