Code Cleanup

This commit is contained in:
Ashish Deo
2023-11-06 19:37:19 +05:30
parent 24caa06d33
commit 42000cb0d8

View File

@@ -41,8 +41,6 @@ import FullScreenLoader from '../../../RN-UI-LIB/src/components/FullScreenLoader
import PDFFullScreen from '../caseDetails/PDFFullScreen';
import ImageViewer from '../caseDetails/ImageViewer';
import NearbyCases from '@screens/allCases/NearbyCases';
import { updateCollectionTemplateData } from '@reducers/caseReducer';
import inhouseTemplate from '@hooks/inhouse.json';
const Stack = createNativeStackNavigator();
@@ -108,14 +106,7 @@ const ProtectedRouter = () => {
);
}, []);
React.useEffect(() => {
console.log('replacing update template with inhouse template');
dispatch(updateCollectionTemplateData(inhouseTemplate as any));
}, []);
React.useEffect(() => {}, []);
if (isLoading) return <FullScreenLoader loading={isLoading} />;