Skip to content

Commit

Permalink
Merge pull request #232 from microbiomedata/issue-230-missing-country…
Browse files Browse the repository at this point in the history
…-field

Add country field required by backend
  • Loading branch information
pkalita-lbl authored Feb 18, 2025
2 parents e24c01f + fbd2d9b commit 01246f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export interface Address {
city: string;
state: string;
postalCode: string;
country: string;
}

export interface AddressForm {
Expand Down
1 change: 1 addition & 0 deletions src/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const initAddress = (): Address => ({
phone: "",
postalCode: "",
state: "",
country: "",
});

export const initAddressForm = (): AddressForm => ({
Expand Down
2 changes: 2 additions & 0 deletions src/mocks/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export const submissions: SubmissionMetadata[] = [
city: "",
state: "",
postalCode: "",
country: "",
},
expectedShippingDate: null,
shippingConditions: "",
Expand Down Expand Up @@ -145,6 +146,7 @@ export const submissions: SubmissionMetadata[] = [
city: "",
state: "",
postalCode: "",
country: "",
},
expectedShippingDate: null,
shippingConditions: "",
Expand Down

0 comments on commit 01246f7

Please sign in to comment.