Skip to content

Commit

Permalink
Merge branch 'Expensify:main' into fix-infinite-loading-when-navigate…
Browse files Browse the repository at this point in the history
…d-before-plaid
  • Loading branch information
huzaifa-99 authored May 9, 2023
2 parents ceb5661 + 5e69967 commit fc7666a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/workspace/reimburse/WorkspaceReimburseView.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ class WorkspaceReimburseView extends React.Component {
unitValue: lodashGet(distanceCustomUnit, 'attributes.unit', 'mi'),
unitRateID: lodashGet(customUnitRate, 'customUnitRateID', ''),
unitRateValue: this.getUnitRateValue(customUnitRate),
outputCurrency: lodashGet(props, 'policy.outputCurrency', ''),
};

this.debounceUpdateOnCursorMove = this.debounceUpdateOnCursorMove.bind(this);
Expand Down Expand Up @@ -215,6 +214,7 @@ class WorkspaceReimburseView extends React.Component {

render() {
const viewAllReceiptsUrl = `expenses?policyIDList=${this.props.policy.id}&billableReimbursable=reimbursable&submitterEmail=%2B%2B`;
const outputCurrency = lodashGet(this.props, 'policy.outputCurrency', CONST.CURRENCY.USD);

return (
<>
Expand Down Expand Up @@ -265,7 +265,7 @@ class WorkspaceReimburseView extends React.Component {
<View style={[styles.rateCol]}>
<TextInput
label={this.props.translate('workspace.reimburse.trackDistanceRate')}
placeholder={this.state.outputCurrency}
placeholder={outputCurrency}
onChangeText={value => this.setRate(value)}
value={this.state.unitRateValue}
autoCompleteType="off"
Expand Down

0 comments on commit fc7666a

Please sign in to comment.