diff --git a/src/pages/iou/IOUCurrencySelection.js b/src/pages/iou/IOUCurrencySelection.js index d2a85cc4ea8aa..0d47e11f4f736 100644 --- a/src/pages/iou/IOUCurrencySelection.js +++ b/src/pages/iou/IOUCurrencySelection.js @@ -75,7 +75,7 @@ class IOUCurrencySelection extends Component { this.state = { searchValue: '', currencyData: currencyOptions, - toggledCurrencyCode: this.props.myPersonalDetails.localCurrencyCode, + toggledCurrencyCode: this.props.iou.selectedCurrencyCode || this.props.myPersonalDetails.localCurrencyCode, }; this.getCurrencyOptions = this.getCurrencyOptions.bind(this); this.toggleOption = this.toggleOption.bind(this); diff --git a/src/pages/iou/IOUModal.js b/src/pages/iou/IOUModal.js index 5c1eb004a4fd8..175a30c595fc3 100755 --- a/src/pages/iou/IOUModal.js +++ b/src/pages/iou/IOUModal.js @@ -161,8 +161,7 @@ class IOUModal extends Component { this.setState({currentStepIndex: 0}); } - if (prevProps.iou.selectedCurrencyCode - !== this.props.iou.selectedCurrencyCode) { + if (prevProps.iou.selectedCurrencyCode !== this.props.iou.selectedCurrencyCode) { IOU.setIOUSelectedCurrency(this.props.iou.selectedCurrencyCode); } }