UnlyEd/next-typescript-api-zeit-boilerplate

View on GitHub
src/pages/index.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function Home has 117 lines of code (exceeds 100 allowed). Consider refactoring.
Open

const Home = (): JSX.Element => {
  const [date, setDate] = useState(null);

  useEffect((): void => {
    async function getDate(): Promise<void> {
Severity: Major
Found in src/pages/index.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status