Skip to content

Commit

Permalink
🪟 🐛 Fix wrong geography dropdown type #19021
Browse files Browse the repository at this point in the history
  • Loading branch information
josephkmh authored Nov 7, 2022
1 parent 7d73b08 commit 7164e1c
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ import { links } from "utils/links";

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

interface SelectGeographyOption {
label: Geography;
value: Geography;
}

interface DefaultDataResidencyFormValues {
defaultGeography: Geography | undefined;
}
Expand Down Expand Up @@ -78,7 +73,7 @@ export const DataResidencyView: React.FC = () => {
{({ isSubmitting, dirty, isValid, resetForm }) => (
<Form>
<Field name="defaultGeography">
{({ field, form }: FieldProps<SelectGeographyOption>) => (
{({ field, form }: FieldProps<Geography>) => (
<div className={styles.geographyRow}>
<ControlLabels
nextLine
Expand Down

0 comments on commit 7164e1c

Please sign in to comment.