Skip to content

Commit c7560be

Browse files
authored
fix(presence): fix additional avatars showing for presence (#1938)
1 parent af50134 commit c7560be

File tree

6 files changed

+72
-304
lines changed

6 files changed

+72
-304
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/control-bar/components/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ export { DeployModal } from './deploy-modal/deploy-modal'
22
export { DeploymentControls } from './deployment-controls/deployment-controls'
33
export { ExportControls } from './export-controls/export-controls'
44
export { TemplateModal } from './template-modal/template-modal'
5-
export { UserAvatarStack } from './user-avatar-stack/user-avatar-stack'
65
export { WebhookSettings } from './webhook-settings/webhook-settings'

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/control-bar/components/user-avatar-stack/components/user-avatar/user-avatar.tsx

Lines changed: 0 additions & 83 deletions
This file was deleted.

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/control-bar/components/user-avatar-stack/user-avatar-stack.tsx

Lines changed: 0 additions & 106 deletions
This file was deleted.

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-presence.ts

Lines changed: 0 additions & 63 deletions
This file was deleted.

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/workflow.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import {
2323
TrainingControls,
2424
} from '@/app/workspace/[workspaceId]/w/[workflowId]/components'
2525
import { Chat } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/chat/chat'
26-
import { UserAvatarStack } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/control-bar/components/user-avatar-stack/user-avatar-stack'
2726
import { Cursors } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/cursors/cursors'
2827
import { ErrorBoundary } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/error/index'
2928
import { NoteBlock } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/note-block/note-block'
@@ -2006,7 +2005,6 @@ const WorkflowContent = React.memo(() => {
20062005
<div className='flex h-screen w-full flex-col overflow-hidden'>
20072006
<div className='relative h-full w-full flex-1 transition-all duration-200'>
20082007
<div className='workflow-container h-full' />
2009-
<UserAvatarStack className='pointer-events-auto w-fit max-w-xs' />
20102008
</div>
20112009
<Panel />
20122010
<Terminal />
@@ -2020,8 +2018,6 @@ const WorkflowContent = React.memo(() => {
20202018
{/* Training Controls - for recording workflow edits */}
20212019
<TrainingControls />
20222020

2023-
<UserAvatarStack className='pointer-events-auto w-fit max-w-xs' />
2024-
20252021
<ReactFlow
20262022
nodes={nodes}
20272023
edges={edgesWithSelection}

0 commit comments

Comments
 (0)