diff --git a/components/Aboutus/Home.tsx b/components/Aboutus/Home.tsx index eef56bc..b0557b1 100644 --- a/components/Aboutus/Home.tsx +++ b/components/Aboutus/Home.tsx @@ -16,7 +16,7 @@ const Home = ({ settings, aboutus }: { settings: SettingsProps, aboutus: Aboutus useEffect(() => { const loadCourses = async () => { setLoading(true); - await new Promise(resolve => setTimeout(resolve, 300)); // 0.5 second delay + await new Promise(resolve => setTimeout(resolve, 100)); // 0.5 second delay setLoading(false); }; loadCourses(); }, []); diff --git a/components/Course/Course.tsx b/components/Course/Course.tsx index 113281a..ff54756 100644 --- a/components/Course/Course.tsx +++ b/components/Course/Course.tsx @@ -16,7 +16,7 @@ const Course = ({ course, settings }: { course: CoursesProps, settings: Settings useEffect(() => { const loadCourses = async () => { setLoading(true); - await new Promise(resolve => setTimeout(resolve, 300)); // 0.5 second delay + await new Promise(resolve => setTimeout(resolve, 100)); // 0.5 second delay setLoading(false); }; loadCourses(); }, []); diff --git a/components/Organ/Home.tsx b/components/Organ/Home.tsx index 0016468..b78eb43 100644 --- a/components/Organ/Home.tsx +++ b/components/Organ/Home.tsx @@ -16,7 +16,7 @@ const Home = ({ settings, organ }: { settings: SettingsProps, organ: OrganProps[ useEffect(() => { const loadCourses = async () => { setLoading(true); - await new Promise(resolve => setTimeout(resolve, 300)); // 0.5 second delay + await new Promise(resolve => setTimeout(resolve, 100)); // 0.5 second delay setLoading(false); }; loadCourses(); }, []);