Skip to content

Commit

Permalink
fix lint errors and include new import method
Browse files Browse the repository at this point in the history
  • Loading branch information
cdOut committed Oct 30, 2023
1 parent 58f09ab commit 6a4f127
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
5 changes: 2 additions & 3 deletions src/components/AddressSearch/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React, {useCallback, useEffect, useMemo, useRef, useState} from 'react';
import lodashGet from 'lodash/get';
import PropTypes from 'prop-types';
import React, {useCallback, useEffect, useMemo, useRef, useState} from 'react';
import {ActivityIndicator, Keyboard, LogBox, ScrollView, Text, View} from 'react-native';
import lodashGet from 'lodash/get';
import React, {useEffect, useMemo, useRef, useState} from 'react';
import {GooglePlacesAutocomplete} from 'react-native-google-places-autocomplete';
import _ from 'underscore';
import FullScreenLoadingIndicator from '@components/FullscreenLoadingIndicator';
Expand Down
3 changes: 2 additions & 1 deletion src/components/Form/InputWrapper.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import PropTypes from 'prop-types';
import React, {forwardRef, useContext} from 'react';
import refPropTypes from '../refPropTypes';
import refPropTypes from '@components/refPropTypes';
import FormContext from './FormContext';

const propTypes = {
Expand All @@ -14,6 +14,7 @@ const propTypes = {
const defaultProps = {
forwardedRef: undefined,
valueType: 'string',
valueParser: () => {},
};

function InputWrapper(props) {
Expand Down
6 changes: 3 additions & 3 deletions src/pages/settings/Wallet/AddDebitCardPage.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import PropTypes from 'prop-types';
import React, {useEffect, useRef} from 'react';
import {View} from 'react-native';
import {withOnyx} from 'react-native-onyx';
import PropTypes from 'prop-types';
import FormProvider from '@components/Form/FormProvider';
import InputWrapper from '@components/Form/InputWrapper';
import AddressSearch from '@components/AddressSearch';
import CheckboxWithLabel from '@components/CheckboxWithLabel';
import FormProvider from '@components/Form/FormProvider';
import InputWrapper from '@components/Form/InputWrapper';
import HeaderWithBackButton from '@components/HeaderWithBackButton';
import ScreenWrapper from '@components/ScreenWrapper';
import StatePicker from '@components/StatePicker';
Expand Down

0 comments on commit 6a4f127

Please sign in to comment.