diff --git a/src/components/notification/view/notificationView.tsx b/src/components/notification/view/notificationView.tsx index 51c3304322..cf90411e38 100644 --- a/src/components/notification/view/notificationView.tsx +++ b/src/components/notification/view/notificationView.tsx @@ -1,12 +1,12 @@ /* eslint-disable react/jsx-wrap-multilines */ import React, { PureComponent } from 'react'; import { connect } from 'react-redux'; -import { View, ActivityIndicator, RefreshControl, Text } from 'react-native'; +import { View, ActivityIndicator, Text } from 'react-native'; import { injectIntl } from 'react-intl'; // Constants // Components -import { FlatList } from 'react-native-gesture-handler'; +import { RefreshControl, FlatList } from 'react-native-gesture-handler'; import EStyleSheet from 'react-native-extended-stylesheet'; import { ContainerHeader } from '../../containerHeader'; import { FilterBar } from '../../filterBar'; diff --git a/src/components/postComments/container/postComments.tsx b/src/components/postComments/container/postComments.tsx index 68b7b560a8..c421a19917 100644 --- a/src/components/postComments/container/postComments.tsx +++ b/src/components/postComments/container/postComments.tsx @@ -7,10 +7,10 @@ import React, { useEffect, Fragment, } from 'react'; -import { ActivityIndicator, Platform, RefreshControl, Text } from 'react-native'; +import { ActivityIndicator, Platform, Text } from 'react-native'; import { useIntl } from 'react-intl'; import { useNavigation } from '@react-navigation/native'; -import { FlatList } from 'react-native-gesture-handler'; +import { FlatList, RefreshControl } from 'react-native-gesture-handler'; // Components import { postBodySummary } from '@ecency/render-helper'; diff --git a/src/screens/assetDetails/children/activitiesList.tsx b/src/screens/assetDetails/children/activitiesList.tsx index fd5c8ffd8b..52d3fb3b88 100644 --- a/src/screens/assetDetails/children/activitiesList.tsx +++ b/src/screens/assetDetails/children/activitiesList.tsx @@ -7,7 +7,6 @@ import { useAppSelector } from '../../../hooks'; import { CoinActivity } from '../../../redux/reducers/walletReducer'; import styles from './children.styles'; import { limitOrderCancel } from '../../../providers/hive-trade/hiveTrade'; -import { walletQueries } from '../../../providers/queries'; import { useQueryClient } from '@tanstack/react-query'; import QUERIES from '../../../providers/queries/queryKeys'; diff --git a/src/screens/assetDetails/children/delegationsModal.tsx b/src/screens/assetDetails/children/delegationsModal.tsx index ede3d6e177..257db8b3fa 100644 --- a/src/screens/assetDetails/children/delegationsModal.tsx +++ b/src/screens/assetDetails/children/delegationsModal.tsx @@ -1,9 +1,9 @@ import React, { forwardRef, useEffect, useImperativeHandle, useState } from 'react'; import { useIntl } from 'react-intl'; -import { FlatList } from 'react-native-gesture-handler'; +import { FlatList, RefreshControl } from 'react-native-gesture-handler'; import { useNavigation } from '@react-navigation/native'; import { StackNavigationProp } from '@react-navigation/stack'; -import { RefreshControl } from 'react-native'; + import unionBy from 'lodash/unionBy'; import AccountListContainer from '../../../containers/accountListContainer'; import ROUTES from '../../../constants/routeNames'; diff --git a/src/screens/wallet/screen/walletScreen.tsx b/src/screens/wallet/screen/walletScreen.tsx index e4e4aeb099..c38332dc15 100644 --- a/src/screens/wallet/screen/walletScreen.tsx +++ b/src/screens/wallet/screen/walletScreen.tsx @@ -1,10 +1,10 @@ /* eslint-disable react/jsx-wrap-multilines */ import React, { Fragment, useState, useEffect, useRef } from 'react'; -import { SafeAreaView, View, RefreshControl, Text, AppState, AppStateStatus } from 'react-native'; +import { SafeAreaView, View, Text, AppState, AppStateStatus } from 'react-native'; import { isArray } from 'lodash'; // Containers -import { FlatList, gestureHandlerRootHOC } from 'react-native-gesture-handler'; +import {RefreshControl, FlatList, gestureHandlerRootHOC } from 'react-native-gesture-handler'; import { useIntl } from 'react-intl'; import moment from 'moment'; import { LoggedInContainer } from '../../../containers';