timer changed
This commit is contained in:
@@ -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();
|
||||
}, []);
|
||||
|
Reference in New Issue
Block a user