Browse Source

Merge pull request #1104 from oprstchn/fix/awsbedrock-region-update

fix: Update AWS Bedrock region options
Matt Rubens 10 months ago
parent
commit
7bbec792be
1 changed files with 1 additions and 3 deletions
  1. 1 3
      webview-ui/src/components/settings/ApiOptions.tsx

+ 1 - 3
webview-ui/src/components/settings/ApiOptions.tsx

@@ -468,9 +468,7 @@ const ApiOptions = ({
 							id="aws-region-dropdown"
 							id="aws-region-dropdown"
 							value={apiConfiguration?.awsRegion || ""}
 							value={apiConfiguration?.awsRegion || ""}
 							style={{ width: "100%" }}
 							style={{ width: "100%" }}
-							onChange={(value: unknown) => {
-								handleInputChange("awsRegion", dropdownEventTransform)
-							}}
+							onChange={handleInputChange("awsRegion", dropdownEventTransform)}
 							options={[
 							options={[
 								{ value: "", label: "Select a region..." },
 								{ value: "", label: "Select a region..." },
 								{ value: "us-east-1", label: "us-east-1" },
 								{ value: "us-east-1", label: "us-east-1" },