From 3292c2731547b786e4ef458c7e371461d9ab723b Mon Sep 17 00:00:00 2001 From: Manan Jadhav Date: Wed, 29 Dec 2021 22:00:45 +0530 Subject: [PATCH] fix: Added translate key for street name based on the form --- src/pages/ReimbursementAccount/AddressForm.js | 6 +++++- src/pages/ReimbursementAccount/CompanyStep.js | 1 + src/pages/ReimbursementAccount/IdentityForm.js | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/pages/ReimbursementAccount/AddressForm.js b/src/pages/ReimbursementAccount/AddressForm.js index acfcc5d8650f..af9f28d41a2c 100644 --- a/src/pages/ReimbursementAccount/AddressForm.js +++ b/src/pages/ReimbursementAccount/AddressForm.js @@ -10,6 +10,10 @@ import StatePicker from '../../components/StatePicker'; import Text from '../../components/Text'; const propTypes = { + + /** Translate key for Street name */ + streetTranslationKey: PropTypes.string.isRequired, + /** Callback fired when a field changes. Passes args as {[fieldName]: val} */ onFieldChange: PropTypes.func.isRequired, @@ -47,7 +51,7 @@ const defaultProps = { const AddressForm = props => ( <> { maxLength={CONST.BANK_ACCOUNT.MAX_LENGTH.SSN} />