Skip to content

Commit de77851

Browse files
committed
Remove extra code
1 parent d48818d commit de77851

File tree

1 file changed

+1
-31
lines changed

1 file changed

+1
-31
lines changed

site/components/Form/FormDropdownField.tsx

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -52,34 +52,4 @@ const useStyles = makeStyles({
5252
hintText: {
5353
opacity: 0.75,
5454
},
55-
})
56-
57-
/*
58-
<TextField
59-
autoComplete="off"
60-
variant="outlined"
61-
onChange={(ev) => handleSelectPool(ev.target.value)}
62-
value={selectedPool ? selectedPool.name : ""}
63-
disabled={fieldIsDisabled}
64-
required
65-
label="Workspace provider"
66-
select
67-
>
68-
{poolsSorted.map((pool: UIResourcePoolWithRegion) => (
69-
<MenuItem key={pool.name} value={pool.name}>
70-
<Box alignItems="center" display="flex">
71-
<ProviderIcon provider={pool} type={pool.type} />
72-
<Box ml={1}>
73-
<Typography>{pool.name}</Typography>
74-
</Box>
75-
{pool.region !== null && (
76-
<Box ml={1}>
77-
<Typography className={styles.hintText} variant="caption">
78-
{pool.region}
79-
</Typography>
80-
</Box>
81-
)}
82-
</Box>
83-
</MenuItem>
84-
))}
85-
</TextField>*/
55+
})

0 commit comments

Comments
 (0)