π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
feat: fix selection to use id
Nevo David460521cc19c3
diff --git a/apps/frontend/src/components/launches/helpers/pick.platform.component.tsx b/apps/frontend/src/components/launches/helpers/pick.platform.component.tsxindex c749b9294..141c1aca0 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);