src/views/HomePage.tsx
Function HomePage
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Invalid
Invalid
export default function HomePage() {
const navigate = useNavigate();
const { data, isLoading } = useQuery({
queryKey: ["user", "authenticated"],
queryFn: () => isAuthenticated(),