Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NoQA] Running prettier on main to fix overlooked issues #18947

Merged
merged 1 commit into from
May 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/QRShare/QRShareWithDownload/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, {Component} from 'react';
import fileDownload from '../../../libs/fileDownload';
import QRShare from '..'
import QRShare from '..';
import {qrShareDefaultProps, qrSharePropTypes} from '../propTypes';
import getQrCodeFileName from '../getQrCodeDownloadFileName';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import React, {Component} from 'react';
import ViewShot from 'react-native-view-shot';
import fileDownload from '../../../libs/fileDownload';
import QRShare from '..'
import QRShare from '..';
import {qrShareDefaultProps, qrSharePropTypes} from '../propTypes';
import getQrCodeFileName from '../getQrCodeDownloadFileName';


class QRShareWithDownload extends Component {
qrCodeScreenshotRef = React.createRef();

Expand Down
2 changes: 1 addition & 1 deletion src/components/QRShare/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import withWindowDimensions, {windowDimensionsPropTypes} from '../withWindowDime
import compose from '../../libs/compose';
import variables from '../../styles/variables';
import ExpensifyWordmark from '../../../assets/images/expensify-wordmark.svg';
import {qrSharePropTypes, qrShareDefaultProps} from './propTypes'
import {qrSharePropTypes, qrShareDefaultProps} from './propTypes';

const propTypes = {
...qrSharePropTypes,
Expand Down
6 changes: 1 addition & 5 deletions src/pages/ReimbursementAccount/BankAccountManualStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,7 @@ class BankAccountManualStep extends React.Component {
LabelComponent={() => (
<Text>
{this.props.translate('common.iAcceptThe')}
<TextLink
href={CONST.TERMS_URL}
>
{this.props.translate('common.expensifyTermsOfService')}
</TextLink>
<TextLink href={CONST.TERMS_URL}>{this.props.translate('common.expensifyTermsOfService')}</TextLink>
</Text>
)}
defaultValue={this.props.getDefaultStateForField('acceptTerms', false)}
Expand Down
10 changes: 3 additions & 7 deletions src/pages/ReimbursementAccount/BankAccountPlaidStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,24 +116,20 @@ class BankAccountPlaidStep extends React.Component {
bankAccountID={bankAccountID}
selectedPlaidAccountID={selectedPlaidAccountID}
/>
{Boolean(selectedPlaidAccountID) && !_.isEmpty(lodashGet(this.props.plaidData, 'bankAccounts')) &&
{Boolean(selectedPlaidAccountID) && !_.isEmpty(lodashGet(this.props.plaidData, 'bankAccounts')) && (
<CheckboxWithLabel
style={styles.mt4}
inputID="acceptTerms"
LabelComponent={() => (
<Text>
{this.props.translate('common.iAcceptThe')}
<TextLink
href={CONST.TERMS_URL}
>
{this.props.translate('common.expensifyTermsOfService')}
</TextLink>
<TextLink href={CONST.TERMS_URL}>{this.props.translate('common.expensifyTermsOfService')}</TextLink>
</Text>
)}
defaultValue={this.props.getDefaultStateForField('acceptTerms', false)}
shouldSaveDraft
/>
}
)}
</Form>
</ScreenWrapper>
);
Expand Down