'use client'; import { FC } from 'react'; import clsx from 'clsx'; 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 { locked, addOrRemoveSelectedIntegration, integrations, selectedIntegrations, } = useLaunchStore( useShallow((state) => ({ integrations: state.integrations, selectedIntegrations: state.selectedIntegrations, addOrRemoveSelectedIntegration: state.addOrRemoveSelectedIntegration, locked: state.locked, })) ); return (