From 315c8f9afe3eb60089b465e3b33bfd1bea55c1f3 Mon Sep 17 00:00:00 2001 From: "web@ppanel" Date: Fri, 21 Feb 2025 19:55:24 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(profile):=20Restore=20filter?= =?UTF-8?q?=20to=20ensure=20only=20valid=20OAuth=20accounts=20are=20shown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/user/app/(main)/(user)/profile/third-party-accounts.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 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 c50ea99..d7802e5 100644 --- a/apps/user/app/(main)/(user)/profile/third-party-accounts.tsx +++ b/apps/user/app/(main)/(user)/profile/third-party-accounts.tsx @@ -202,8 +202,7 @@ export default function ThirdPartyAccounts() { name: 'Device', type: 'OAuth', }, - ]; - // .filter((account) => oauth_methods?.includes(account.id)); + ].filter((account) => oauth_methods?.includes(account.id)); const [editValues, setEditValues] = useState>({});