diff options
Diffstat (limited to 'src/lib/react-query.tsx')
-rw-r--r-- | src/lib/react-query.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/react-query.tsx b/src/lib/react-query.tsx index 5abfccd7f..fe3ec6f4c 100644 --- a/src/lib/react-query.tsx +++ b/src/lib/react-query.tsx @@ -1,12 +1,13 @@ -import React, {useRef, useState} from 'react' -import {AppState, AppStateStatus} from 'react-native' +import {useRef, useState} from 'react' +import {AppState, type AppStateStatus} from 'react-native' import AsyncStorage from '@react-native-async-storage/async-storage' import {createAsyncStoragePersister} from '@tanstack/query-async-storage-persister' import {focusManager, onlineManager, QueryClient} from '@tanstack/react-query' import { PersistQueryClientProvider, - PersistQueryClientProviderProps, + type PersistQueryClientProviderProps, } from '@tanstack/react-query-persist-client' +import type React from 'react' import {isNative} from '#/platform/detection' import {listenNetworkConfirmed, listenNetworkLost} from '#/state/events' |