From 6eaced1c937592e6d1eaad594516ffddae656dfe Mon Sep 17 00:00:00 2001 From: Pedro Guerreiro Date: Wed, 22 Nov 2023 22:17:49 +0000 Subject: [PATCH] fix(get physical card): bad margins affecting personal details address page --- src/components/AddressForm.js | 1 - src/pages/settings/Wallet/Card/BaseGetPhysicalCard.js | 2 +- src/pages/settings/Wallet/Card/GetPhysicalCardConfirm.js | 2 +- src/pages/settings/Wallet/Card/GetPhysicalCardName.js | 2 +- src/pages/settings/Wallet/Card/GetPhysicalCardPhone.js | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/AddressForm.js b/src/components/AddressForm.js index 19ab35f036c1..dfea017692ef 100644 --- a/src/components/AddressForm.js +++ b/src/components/AddressForm.js @@ -122,7 +122,6 @@ function AddressForm({city, country, formID, onAddressChanged, onSubmit, shouldS submitButtonText={submitButtonText} enabledWhenOffline > - Navigation.goBack(ROUTES.SETTINGS_WALLET_DOMAINCARD.getRoute(domain))} /> - {headline} + {headline} {renderContent(onSubmit, submitButtonText, children, onValidate)} ); diff --git a/src/pages/settings/Wallet/Card/GetPhysicalCardConfirm.js b/src/pages/settings/Wallet/Card/GetPhysicalCardConfirm.js index e6a11e2ba1e1..10069bceb1c4 100644 --- a/src/pages/settings/Wallet/Card/GetPhysicalCardConfirm.js +++ b/src/pages/settings/Wallet/Card/GetPhysicalCardConfirm.js @@ -82,7 +82,7 @@ function GetPhysicalCardConfirm({ submitButtonText={translate('getPhysicalCard.shipCard')} title={translate('getPhysicalCard.header')} > - {translate('getPhysicalCard.estimatedDeliveryMessage')} + {translate('getPhysicalCard.estimatedDeliveryMessage')}