mmkv added
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import AsyncStorage from '@react-native-async-storage/async-storage';
|
||||
import { useQuery } from '@tanstack/react-query';
|
||||
import packetsApi from 'api/packets';
|
||||
import Layout from 'components/Layout';
|
||||
@@ -15,7 +14,6 @@ import {
|
||||
View,
|
||||
useWindowDimensions,
|
||||
} from 'react-native';
|
||||
import Serach from 'svg/Serach';
|
||||
import { DataInfo } from '../lib/data';
|
||||
import Filter from './Filter';
|
||||
import Order from './Order';
|
||||
@@ -61,9 +59,6 @@ const Status = () => {
|
||||
}),
|
||||
});
|
||||
|
||||
console.log(AsyncStorage.getItem('token'));
|
||||
console.log('statusData', statusData);
|
||||
|
||||
const [modalVisible, setModalVisible] = useState(false);
|
||||
const scaleAnim = React.useRef(new Animated.Value(0.8)).current;
|
||||
const opacityAnim = React.useRef(new Animated.Value(0)).current;
|
||||
@@ -140,11 +135,6 @@ const Status = () => {
|
||||
[refreshing, isFetching, onRefresh],
|
||||
);
|
||||
|
||||
const searchIcon = useMemo(
|
||||
() => <Serach color="#D8DADC" width={20 * scale} height={20 * scale} />,
|
||||
[scale],
|
||||
);
|
||||
|
||||
if (isLoading || isFetching) {
|
||||
return (
|
||||
<Layout>
|
||||
|
||||
Reference in New Issue
Block a user