Skip to content

Commit cb00845

Browse files
committed
remove
1 parent 34567a2 commit cb00845

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

packages/connect-react/src/components/Control.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,6 @@ export function Control<T extends ConfigurableProps, U extends ConfigurableProp>
7171
case "$.interface.timer":
7272
// XXX split into ControlString, ControlInteger, etc? but want to share autoComplet="off", etc functionality in base one
7373
return <ControlInput />;
74-
75-
// TODO do we need these?
76-
//case "$.service.db":
77-
//case "$.interface.http":
78-
// break;
7974
default:
8075
// TODO "not supported prop type should bubble up"
8176
throw new Error("Unsupported property type: " + prop.type);

packages/connect-react/src/components/ControlInput.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ export function ControlInput() {
3636
? parseInt(v)
3737
: undefined;
3838
break;
39-
//case "$.service.db":
40-
//case "$.interface.http":
41-
// inputType = "text";
42-
// break;
4339
case "$.interface.timer":
4440
inputType = "number"
4541
break;

0 commit comments

Comments
 (0)