diff --git a/packages/client/components/ActivityLibrary/ActivityDetails/TemplateDetails.tsx b/packages/client/components/ActivityLibrary/ActivityDetails/TemplateDetails.tsx index b86554fb3ef..f45191fad8c 100644 --- a/packages/client/components/ActivityLibrary/ActivityDetails/TemplateDetails.tsx +++ b/packages/client/components/ActivityLibrary/ActivityDetails/TemplateDetails.tsx @@ -73,22 +73,6 @@ const ACTIVITY_TYPE_DATA_LOOKUP: Record< } } -const ACTIVITY_ID_DATA_LOOKUP: Record< - string, - {description: React.ReactNode; integrationsTip: React.ReactNode} -> = { - oneOnOneAction: { - description: ( - <> - This is a space to check in one-on-one. Share a personal update using the Icebreaker{' '} - phase. Give a brief update on what’s changed with your work during the Solo Updates{' '} - phase. Raise issues for discussion in the Agenda phase. - - ), - integrationsTip: <>push takeaway tasks to your backlog - } -} - interface Props { activityRef: TemplateDetails_activity$key isEditing: boolean @@ -143,8 +127,7 @@ export const TemplateDetails = (props: Props) => { } = activity const {id: teamId, editingScaleId} = team - const {description: activityDescription, integrationsTip} = - ACTIVITY_ID_DATA_LOOKUP[activityId] ?? ACTIVITY_TYPE_DATA_LOOKUP[type] + const {description: activityDescription, integrationsTip} = ACTIVITY_TYPE_DATA_LOOKUP[type] const viewer = useFragment( graphql` diff --git a/packages/client/components/ActivityLibrary/ActivityDetailsSidebar.tsx b/packages/client/components/ActivityLibrary/ActivityDetailsSidebar.tsx index 20574555b3b..d0721f72af5 100644 --- a/packages/client/components/ActivityLibrary/ActivityDetailsSidebar.tsx +++ b/packages/client/components/ActivityLibrary/ActivityDetailsSidebar.tsx @@ -16,7 +16,6 @@ import useAtmosphere from '../../hooks/useAtmosphere' import {MenuPosition} from '../../hooks/useCoords' import useMutationProps from '../../hooks/useMutationProps' import SelectTemplateMutation from '../../mutations/SelectTemplateMutation' -import SendClientSideEvent from '../../utils/SendClientSideEvent' import StartCheckInMutation from '../../mutations/StartCheckInMutation' import StartTeamPromptMutation from '../../mutations/StartTeamPromptMutation' import {PALETTE} from '../../styles/paletteV3' @@ -33,14 +32,6 @@ import StyledError from '../StyledError' import FlatPrimaryButton from '../FlatPrimaryButton' import NewMeetingActionsCurrentMeetings from '../NewMeetingActionsCurrentMeetings' import NewMeetingTeamPicker from '../NewMeetingTeamPicker' -import {AdhocTeamMultiSelect, Option} from '../AdhocTeamMultiSelect/AdhocTeamMultiSelect' -import {Select} from '../../ui/Select/Select' -import {SelectTrigger} from '../../ui/Select/SelectTrigger' -import {SelectValue} from '../../ui/Select/SelectValue' -import {SelectContent} from '../../ui/Select/SelectContent' -import {SelectGroup} from '../../ui/Select/SelectGroup' -import {SelectItem} from '../../ui/Select/SelectItem' -import OneOnOneTeamStatus from './OneOnOneTeamStatus' import ScheduleMeetingButton from './ScheduleMeetingButton' import useBreakpoint from '../../hooks/useBreakpoint' import {Breakpoint} from '../../types/constEnums' @@ -156,37 +147,6 @@ const ActivityDetailsSidebar = (props: Props) => { const mutationProps = useMutationProps() const {onError, onCompleted, submitting, submitMutation, error} = mutationProps const history = useHistory() - const {organizations: viewerOrganizations} = viewer - const [selectedUser, setSelectedUser] = React.useState