Skip to content

Commit 7164e1c

Browse files
author
Joey Marshment-Howell
authored
🪟 🐛 Fix wrong geography dropdown type #19021
1 parent 7d73b08 commit 7164e1c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

airbyte-webapp/src/packages/cloud/views/workspaces/DataResidencyView/DataResidencyView.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ import { links } from "utils/links";
1818

1919
import styles from "./DataResidencyView.module.scss";
2020

21-
interface SelectGeographyOption {
22-
label: Geography;
23-
value: Geography;
24-
}
25-
2621
interface DefaultDataResidencyFormValues {
2722
defaultGeography: Geography | undefined;
2823
}
@@ -78,7 +73,7 @@ export const DataResidencyView: React.FC = () => {
7873
{({ isSubmitting, dirty, isValid, resetForm }) => (
7974
<Form>
8075
<Field name="defaultGeography">
81-
{({ field, form }: FieldProps<SelectGeographyOption>) => (
76+
{({ field, form }: FieldProps<Geography>) => (
8277
<div className={styles.geographyRow}>
8378
<ControlLabels
8479
nextLine

0 commit comments

Comments
 (0)