From ab98b792bf589fb3153c029140645f07f0905a05 Mon Sep 17 00:00:00 2001 From: pottycat Date: Tue, 21 Apr 2026 09:04:20 +0000 Subject: [PATCH 1/2] fix: remove unused makeId import and rename exising to existing --- .../components/new-launch/picks.socials.component.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/frontend/src/components/new-launch/picks.socials.component.tsx b/apps/frontend/src/components/new-launch/picks.socials.component.tsx index 116395ca91..6686d6591d 100644 --- a/apps/frontend/src/components/new-launch/picks.socials.component.tsx +++ b/apps/frontend/src/components/new-launch/picks.socials.component.tsx @@ -6,13 +6,12 @@ import SafeImage from '@gitroom/react/helpers/safe.image'; import { useLaunchStore } from '@gitroom/frontend/components/new-launch/store'; import { useShallow } from 'zustand/react/shallow'; import { useExistingData } from '@gitroom/frontend/components/launches/helpers/use.existing.data'; -import { makeId } from '@gitroom/nestjs-libraries/services/make.is'; import ImageWithFallback from '@gitroom/react/helpers/image.with.fallback'; export const PicksSocialsComponent: FC<{ toolTip?: boolean }> = ({ toolTip, }) => { - const exising = useExistingData(); + const existing = useExistingData(); const { locked, @@ -35,8 +34,8 @@ export const PicksSocialsComponent: FC<{ toolTip?: boolean }> = ({
{integrations .filter((f) => { - if (exising.integration) { - return f.id === exising.integration; + if (existing.integration) { + return f.id === existing.integration; } return !f.inBetweenSteps && !f.disabled; }) @@ -51,7 +50,7 @@ export const PicksSocialsComponent: FC<{ toolTip?: boolean }> = ({ >
{ - if (exising.integration) { + if (existingy.integration) { return; } addOrRemoveSelectedIntegration(integration, {}); From 974ad99cc876106eb3ca4ca5f10a0ff725bca83d Mon Sep 17 00:00:00 2001 From: pottycat Date: Tue, 21 Apr 2026 09:20:24 +0000 Subject: [PATCH 2/2] fix: remove unused makeId import and rename exising to existing --- .../src/components/new-launch/picks.socials.component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/src/components/new-launch/picks.socials.component.tsx b/apps/frontend/src/components/new-launch/picks.socials.component.tsx index 6686d6591d..006641d30c 100644 --- a/apps/frontend/src/components/new-launch/picks.socials.component.tsx +++ b/apps/frontend/src/components/new-launch/picks.socials.component.tsx @@ -50,7 +50,7 @@ export const PicksSocialsComponent: FC<{ toolTip?: boolean }> = ({ >
{ - if (existingy.integration) { + if (existing.integration) { return; } addOrRemoveSelectedIntegration(integration, {});