Code Cleanup
This commit is contained in:
@@ -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} />;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user