diff --git a/src/routes/Home/Home.tsx b/src/routes/Home/Home.tsx index b0c2b5a..26102d6 100644 --- a/src/routes/Home/Home.tsx +++ b/src/routes/Home/Home.tsx @@ -101,7 +101,7 @@ export default function Home() { useEffect(() => { const interval = setInterval(() => { requestLocation(); - }, 10000); + }, 30000); setTimeout(() => { queryClient.invalidateQueries({ queryKey: ["user"] }); queryClient.invalidateQueries({ queryKey: ["user_status"] }); @@ -892,7 +892,25 @@ export default function Home() { {studying ? : <>} - + {student_status?.active && !student_status?.study_group ? ( + + ) : ( + <> + )} );