Skip to content

Commit

Permalink
✨ pretty
Browse files Browse the repository at this point in the history
Signed-off-by: Prince Mendiratta <[email protected]>
  • Loading branch information
Prince-Mendiratta committed Sep 19, 2023
1 parent d785775 commit c07a584
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 18 deletions.
4 changes: 1 addition & 3 deletions src/pages/DetailsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,7 @@ function DetailsPage(props) {
return (
<ScreenWrapper>
<FullPageNotFoundView shouldShow={_.isEmpty(login)}>
<HeaderWithBackButton
title={props.translate('common.details')}
/>
<HeaderWithBackButton title={props.translate('common.details')} />
<View
pointerEvents="box-none"
style={[styles.containerWithSpaceBetween]}
Expand Down
4 changes: 1 addition & 3 deletions src/pages/EditRequestAmountPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ function EditRequestAmountPage({defaultAmount, defaultCurrency, onSubmit, report
includeSafeAreaPaddingBottom={false}
shouldEnableMaxHeight
>
<HeaderWithBackButton
title={translate('iou.amount')}
/>
<HeaderWithBackButton title={translate('iou.amount')} />
<MoneyRequestAmountForm
isEditing
currency={defaultCurrency}
Expand Down
4 changes: 1 addition & 3 deletions src/pages/EditRequestCreatedPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ function EditRequestCreatedPage({defaultCreated, onSubmit}) {
includeSafeAreaPaddingBottom={false}
shouldEnableMaxHeight
>
<HeaderWithBackButton
title={translate('common.date')}
/>
<HeaderWithBackButton title={translate('common.date')} />
<Form
style={[styles.flexGrow1, styles.ph5]}
formID={ONYXKEYS.FORMS.MONEY_REQUEST_DATE_FORM}
Expand Down
4 changes: 1 addition & 3 deletions src/pages/EditRequestDescriptionPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ function EditRequestDescriptionPage({defaultDescription, onSubmit}) {
shouldEnableMaxHeight
onEntryTransitionEnd={() => descriptionInputRef.current && descriptionInputRef.current.focus()}
>
<HeaderWithBackButton
title={translate('common.description')}
/>
<HeaderWithBackButton title={translate('common.description')} />
<Form
style={[styles.flexGrow1, styles.ph5]}
formID={ONYXKEYS.FORMS.MONEY_REQUEST_DESCRIPTION_FORM}
Expand Down
4 changes: 1 addition & 3 deletions src/pages/EditRequestMerchantPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ function EditRequestMerchantPage({defaultMerchant, onSubmit}) {
shouldEnableMaxHeight
onEntryTransitionEnd={() => merchantInputRef.current && merchantInputRef.current.focus()}
>
<HeaderWithBackButton
title={translate('common.merchant')}
/>
<HeaderWithBackButton title={translate('common.merchant')} />
<Form
style={[styles.flexGrow1, styles.ph5]}
formID={ONYXKEYS.FORMS.MONEY_REQUEST_MERCHANT_FORM}
Expand Down
4 changes: 1 addition & 3 deletions src/pages/PrivateNotes/PrivateNotesListPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ function PrivateNotesListPage({report, personalDetailsList, network, session}) {

return (
<ScreenWrapper includeSafeAreaPaddingBottom={false}>
<FullPageNotFoundView
shouldShow={_.isEmpty(report.reportID) || (!report.isLoadingPrivateNotes && network.isOffline && _.isEmpty(lodashGet(report, 'privateNotes', {})))}
>
<FullPageNotFoundView shouldShow={_.isEmpty(report.reportID) || (!report.isLoadingPrivateNotes && network.isOffline && _.isEmpty(lodashGet(report, 'privateNotes', {})))}>
<HeaderWithBackButton
title={translate('privateNotes.title')}
shouldShowBackButton
Expand Down

0 comments on commit c07a584

Please sign in to comment.