update
This commit is contained in:
@@ -3,13 +3,11 @@ import { NativeStackNavigationProp } from '@react-navigation/native-stack';
|
||||
import { useQuery } from '@tanstack/react-query';
|
||||
import { Branch, branchApi } from 'api/branch';
|
||||
import BottomModal from 'components/BottomModal';
|
||||
import LayoutTwo from 'components/LayoutTwo';
|
||||
import LoadingScreen from 'components/LoadingScreen';
|
||||
import NavbarBack from 'components/NavbarBack';
|
||||
import Navigation from 'components/Navigation';
|
||||
import React, { useEffect, useRef, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { StyleSheet, Text, TouchableOpacity, View } from 'react-native';
|
||||
import { SafeAreaView } from 'react-native-safe-area-context';
|
||||
import WebView from 'react-native-webview';
|
||||
import Minus from 'svg/Minus';
|
||||
import Plus from 'svg/Plus';
|
||||
@@ -123,8 +121,7 @@ const ListBranches = () => {
|
||||
if (!data) return <LoadingScreen />;
|
||||
|
||||
return (
|
||||
<SafeAreaView style={styles.container}>
|
||||
<NavbarBack title={t('Filiallar ro’yxati')} />
|
||||
<LayoutTwo title={t('Filiallar ro’yxati')}>
|
||||
{!webViewReady && (
|
||||
<View style={{ width: '100%', height: '100%', margin: 'auto' }}>
|
||||
<LoadingScreen />
|
||||
@@ -195,8 +192,7 @@ const ListBranches = () => {
|
||||
branch={selectedBranch}
|
||||
/>
|
||||
</View>
|
||||
<Navigation />
|
||||
</SafeAreaView>
|
||||
</LayoutTwo>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user