From 460521cc19c32f5beb519049fa0bc8defb165523 Mon Sep 17 00:00:00 2001 From: Nevo David Date: Mon, 9 Jun 2025 20:02:15 +0700 Subject: [PATCH] feat: fix selection to use id --- .../src/components/launches/helpers/pick.platform.component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/src/components/launches/helpers/pick.platform.component.tsx b/apps/frontend/src/components/launches/helpers/pick.platform.component.tsx index c749b929..141c1aca 100644 --- a/apps/frontend/src/components/launches/helpers/pick.platform.component.tsx +++ b/apps/frontend/src/components/launches/helpers/pick.platform.component.tsx @@ -86,7 +86,7 @@ export const PickPlatforms: FC<{ ); return; } - if (selectedAccounts.includes(integration)) { + if (selectedAccounts.some((account) => account.id === integration.id)) { const changedIntegrations = selectedAccounts.filter( ({ id }) => id !== integration.id );