Skip to content

Commit

Permalink
Merge pull request #26984 from Expensify/cristi_default-scan-tab
Browse files Browse the repository at this point in the history
[CP_Staging] Default to Scan as the selectedTab
  • Loading branch information
AndrewGable authored Sep 7, 2023
2 parents 5fbee52 + 8d56175 commit 931fd16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/iou/MoneyRequestSelectorPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const propTypes = {
};

const defaultProps = {
selectedTab: CONST.TAB.MANUAL,
selectedTab: CONST.TAB.SCAN,
report: {},
};

Expand Down Expand Up @@ -82,6 +82,7 @@ function MoneyRequestSelectorPage(props) {
{iouType === CONST.IOU.MONEY_REQUEST_TYPE.REQUEST ? (
<OnyxTabNavigator
id={CONST.TAB.RECEIPT_TAB_ID}
selectedTab={props.selectedTab}
tabBar={({state, navigation, position}) => (
<TabSelector
state={state}
Expand Down

0 comments on commit 931fd16

Please sign in to comment.