From 97291a85cdd93d6f25a026d5c6db55ef7a58eff0 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sat, 30 Sep 2023 18:31:26 +0800 Subject: [PATCH] Fixed homepage sometimes not rendering when not studying --- src/routes/Home/Home.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/routes/Home/Home.tsx b/src/routes/Home/Home.tsx index c1b7ff0..3f0e256 100644 --- a/src/routes/Home/Home.tsx +++ b/src/routes/Home/Home.tsx @@ -264,7 +264,6 @@ export default function Home() { useState([]); // Student Status List Global const StudentStatusListGlobalQuery = useQuery({ - enabled: !studying, queryKey: ["user_status_list_global"], queryFn: async () => { const data = await GetStudentStatusList(); @@ -323,7 +322,6 @@ export default function Home() { >([]); // Study Group Global List const StudyGroupGlobalQuery = useQuery({ - enabled: !studying, queryKey: ["study_group_list_global"], queryFn: async () => { const data = await GetStudyGroupList();