Skip to content

Commit a63ee0a

Browse files
committed
chore: clean up unused props
1 parent 250bf2e commit a63ee0a

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

packages/frontend/src/components/Editor/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ export default function Editor(props: EditorProps): React.ReactElement {
5252
onCreateStep,
5353
onDrawerClose,
5454
onDrawerOpen,
55-
onUpdateStep,
5655
setCurrentStepId,
5756
} = useContext(EditorContext)
5857

@@ -250,7 +249,6 @@ export default function Editor(props: EditorProps): React.ReactElement {
250249
setCurrentStepIndex(null)
251250
onDrawerClose()
252251
}}
253-
onChange={onUpdateStep}
254252
/>
255253
<AddStepButton
256254
// hide all add button steps if is readonly

packages/frontend/src/components/FlowStep/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ type FlowStepProps = {
2525
isNested?: boolean
2626
onOpen: () => void
2727
onClose: () => void
28-
onChange: (step: IStep) => void
29-
shouldHighlight?: boolean
3028
}
3129

3230
export default function FlowStep(

packages/frontend/src/components/FlowStepGroup/Content/IfThen/Branch.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ export default function Branch(props: BranchProps) {
4848
readOnly: isEditorReadOnly,
4949
onDrawerClose,
5050
onDrawerOpen,
51-
onUpdateStep,
5251
setCurrentStepId,
5352
setCurrentStepIndex,
5453
} = useContext(EditorContext)
@@ -152,7 +151,6 @@ export default function Branch(props: BranchProps) {
152151
setCurrentStepIndex(null)
153152
onDrawerClose()
154153
}}
155-
onChange={onUpdateStep}
156154
/>
157155
<HoverAddStepButton
158156
isDisabled={isEditorReadOnly}

0 commit comments

Comments
 (0)