macintushar/draw

View on GitHub
src/views/HomePage.tsx

Summary

Maintainability
A
0 mins
Test Coverage

Function HomePage has 60 lines of code (exceeds 25 allowed). Consider refactoring.
Invalid

export default function HomePage() {
  const navigate = useNavigate();
  const { data, isLoading } = useQuery({
    queryKey: ["user", "authenticated"],
    queryFn: () => isAuthenticated(),
Severity: Major
Found in src/views/HomePage.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status