فهرست منبع

fix: Update AWS Bedrock region options

oprstchn 10 ماه پیش
والد
کامیت
97b8ee3b56
1فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  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"
 							value={apiConfiguration?.awsRegion || ""}
 							style={{ width: "100%" }}
-							onChange={(value: unknown) => {
-								handleInputChange("awsRegion", dropdownEventTransform)
-							}}
+							onChange={handleInputChange("awsRegion", dropdownEventTransform)}
 							options={[
 								{ value: "", label: "Select a region..." },
 								{ value: "us-east-1", label: "us-east-1" },