From dd62f30c49272320d48a2247d1bf88d4ddecf085 Mon Sep 17 00:00:00 2001 From: Kamogelo Moeketse Date: Sun, 16 Jun 2024 00:19:41 +0200 Subject: [PATCH] removed unecessary babel file --- frontend/occupi-mobile3/.babelrc | 3 --- frontend/occupi-mobile3/screens/Login/SplashScreen.tsx | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 frontend/occupi-mobile3/.babelrc diff --git a/frontend/occupi-mobile3/.babelrc b/frontend/occupi-mobile3/.babelrc deleted file mode 100644 index f406f678..00000000 --- a/frontend/occupi-mobile3/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript"] -} diff --git a/frontend/occupi-mobile3/screens/Login/SplashScreen.tsx b/frontend/occupi-mobile3/screens/Login/SplashScreen.tsx index 7d30fb1b..e0cc9af7 100644 --- a/frontend/occupi-mobile3/screens/Login/SplashScreen.tsx +++ b/frontend/occupi-mobile3/screens/Login/SplashScreen.tsx @@ -130,7 +130,7 @@ export default function SplashScreen() { useEffect(() => { const timer = setTimeout(() => { setSelectedIndex(1); // Assuming Onboarding1 is at index 1 - router.navigate('/home'); // Navigate to Onboarding1 screen + router.navigate('/login'); // Navigate to Onboarding1 screen }, 5000); // 8 seconds return () => clearTimeout(timer); // Clean up timer on component unmount