Skip to content

Commit

Permalink
Fix Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
esh-g committed Jul 14, 2023
1 parent 2d0b25d commit 10d80e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/pages/ReportWelcomeMessagePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import CONST from '../CONST';
import FullPageNotFoundView from '../components/BlockingViews/FullPageNotFoundView';
import Form from '../components/Form';
import * as PolicyUtils from '../libs/PolicyUtils';
import {policyPropTypes} from './workspace/withPolicy';
import {policyPropTypes, policyDefaultProps} from './workspace/withPolicy';

const propTypes = {
...withLocalizePropTypes,
Expand All @@ -37,7 +37,7 @@ const propTypes = {
};

const defaultProps = {
policy: {},
...policyDefaultProps,
};

function ReportWelcomeMessagePage(props) {
Expand Down
5 changes: 2 additions & 3 deletions src/pages/settings/Report/WriteCapabilityPage.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import _ from 'underscore';
import PropTypes from 'prop-types';
import {withOnyx} from 'react-native-onyx';
import ONYXKEYS from '../../../ONYXKEYS';
import CONST from '../../../CONST';
Expand All @@ -20,7 +19,7 @@ import themeColors from '../../../styles/themes/default';
import * as ReportUtils from '../../../libs/ReportUtils';
import FullPageNotFoundView from '../../../components/BlockingViews/FullPageNotFoundView';
import * as PolicyUtils from '../../../libs/PolicyUtils';
import {policyPropTypes} from '../../workspace/withPolicy';
import {policyPropTypes, policyDefaultProps} from '../../workspace/withPolicy';

const propTypes = {
...withLocalizePropTypes,
Expand All @@ -31,7 +30,7 @@ const propTypes = {
};

const defaultProps = {
policy: {},
...policyDefaultProps,
};

const greenCheckmark = {src: Expensicons.Checkmark, color: themeColors.success};
Expand Down

0 comments on commit 10d80e5

Please sign in to comment.