Skip to content

Commit 4bb13fd

Browse files
Conflicts resolved from google repo
1 parent a61532b commit 4bb13fd

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/batches/createBatch.tsx

+3-8
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ import errorIcon from '../../style/icons/error_icon.svg';
5656
import { Select } from '../controls/MuiWrappedSelect';
5757
import { Input } from '../controls/MuiWrappedInput';
5858
import { Radio } from '@mui/material';
59-
// import { Dropdown } from '../controls/MuiWrappedDropdown';
59+
import { Dropdown } from '../controls/MuiWrappedDropdown';
6060

6161
type Project = {
6262
projectId: string;
@@ -279,9 +279,7 @@ function CreateBatch({
279279
useState([...pythonFileUris]);
280280
const [mainPythonSelected, setMainPythonSelected] =
281281
useState(mainPythonFileUri);
282-
const [clustersList, setClustersList] = useState<
283-
Array<{ key: string; value: string; text: string }>
284-
>([]);
282+
const [clustersList, setClustersList] = useState<string[]>([]);
285283
const [additionalPythonFileValidation, setAdditionalPythonFileValidation] =
286284
useState(true);
287285
const [jarFileValidation, setJarFileValidation] = useState(true);
@@ -2055,14 +2053,11 @@ function CreateBatch({
20552053
>
20562054
History server cluster
20572055
</label>
2058-
<Select
2056+
<Dropdown
20592057
className="project-region-select"
2060-
search
2061-
selection
20622058
value={clusterSelected}
20632059
onChange={handleClusterSelected}
20642060
options={clustersList}
2065-
placeholder=""
20662061
/>
20672062
</div>
20682063

0 commit comments

Comments
 (0)