Skip to content

Commit

Permalink
fix: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
plutoless committed Aug 25, 2024
1 parent f20373d commit 9adbc57
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions src/components/editor/flow/nodes/propertySection/item/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,6 @@ const CustomInput = (CustomInputProps: CustomInputProps) => {
onChange={onChange}
onBlur={onBlur}
></Input>
// return <Form.Item
// label={name}
// name={name}
// initialValue={value}
// style={{marginBottom: 0}}
// >
// <Input
// allowClear
// status={status}
// onChange={onChange}
// onBlur={onBlur}
// />
// </Form.Item>
} else if (inputType === "number") {
return <InputNumber
value={value}
Expand All @@ -122,36 +109,10 @@ const CustomInput = (CustomInputProps: CustomInputProps) => {
onChange={onChange}
onBlur={onBlur}
></InputNumber>
// return (
// <Form.Item
// label={name}
// initialValue={value}
// style={{marginBottom: 0}}
// >
// <InputNumber
// type='number'
// status={status}
// onChange={onChange}
// onBlur={onBlur}
// />
// </Form.Item>
// )
} else if (inputType === "boolean") {
return <Switch
value={value}
onChange={onChange}></Switch>
// return (
// <Form.Item
// label={name}
// initialValue={value}
// valuePropName="checked"
// style={{marginBottom: 0}}
// >
// <Switch
// onChange={onChange}>
// </Switch>
// </Form.Item>
// )
}

}
Expand Down

0 comments on commit 9adbc57

Please sign in to comment.