Skip to content

Commit cb084a1

Browse files
committed
fix: duplicate fit to view
1 parent 32677c3 commit cb084a1

File tree

3 files changed

+0
-236
lines changed

3 files changed

+0
-236
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/context-menu/pane-context-menu.tsx

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

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/context-menu/types.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ export interface PaneContextMenuProps {
8181
onToggleVariables: () => void
8282
onToggleChat: () => void
8383
onInvite: () => void
84-
onZoomIn: () => void
85-
onZoomOut: () => void
86-
onFitView: () => void
8784
/** Whether the variables panel is currently open */
8885
isVariablesOpen?: boolean
8986
/** Whether the chat panel is currently open */

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3372,9 +3372,6 @@ const WorkflowContent = React.memo(() => {
33723372
onToggleVariables={handleContextToggleVariables}
33733373
onToggleChat={handleContextToggleChat}
33743374
onInvite={handleContextInvite}
3375-
onZoomIn={() => reactFlowInstance.zoomIn()}
3376-
onZoomOut={() => reactFlowInstance.zoomOut()}
3377-
onFitView={() => fitViewToBounds({ padding: 0.1, duration: 300 })}
33783375
isVariablesOpen={isVariablesOpen}
33793376
isChatOpen={isChatOpen}
33803377
hasClipboard={hasClipboard()}

0 commit comments

Comments
 (0)