Skip to content

Commit

Permalink
rename prop
Browse files Browse the repository at this point in the history
  • Loading branch information
ncomont committed Nov 20, 2023
1 parent ac2040c commit c4d68f5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/shared-business/src/components/BeneficiaryForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ type Props = {
initialState?: EditorState;
accountCountry: AccountCountry;
step: BeneficiaryFormStep;
googleMapApiKey: string;
placekitApiKey: string;
onStepChange: (step: BeneficiaryFormStep) => void;
onSave: (editorState: EditorState) => void | Promise<void>;
onClose: () => void;
Expand Down Expand Up @@ -277,7 +277,7 @@ export const BeneficiaryForm = forwardRef<BeneficiaryFormRef | undefined, Props>
initialState,
accountCountry,
step,
googleMapApiKey,
placekitApiKey,
onStepChange,
onClose,
onSave,
Expand Down Expand Up @@ -585,7 +585,7 @@ export const BeneficiaryForm = forwardRef<BeneficiaryFormRef | undefined, Props>
render={id => (
<PlacekitCityInput
id={id}
apiKey={googleMapApiKey}
apiKey={placekitApiKey}
error={error}
country={birthCountryCode.value}
value={value ?? ""}
Expand Down Expand Up @@ -724,7 +724,7 @@ export const BeneficiaryForm = forwardRef<BeneficiaryFormRef | undefined, Props>
{({ country }) => (
<>
<AddressFormPart
apiKey={googleMapApiKey}
apiKey={placekitApiKey}
initialAddress={initialAddress.current.residencyAddressLine1 ?? ""}
initialCity={initialAddress.current.residencyAddressCity ?? ""}
initialPostalCode={
Expand Down

0 comments on commit c4d68f5

Please sign in to comment.