mmkv added

This commit is contained in:
Samandar Turgunboyev
2025-12-04 15:39:48 +05:00
parent 684d09e6b5
commit 87bd8cdea6
15 changed files with 1470 additions and 1450 deletions

View File

@@ -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>