mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2024-11-17 06:19:25 +08:00
Fixed homepage sometimes not rendering when not studying
This commit is contained in:
parent
bbffea76a3
commit
97291a85cd
1 changed files with 0 additions and 2 deletions
|
@ -264,7 +264,6 @@ export default function Home() {
|
|||
useState<StudentStatusListType>([]);
|
||||
// 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();
|
||||
|
|
Loading…
Reference in a new issue