UnlyEd/next-typescript-api-zeit-boilerplate

View on GitHub

Showing 1 of 16 total issues

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
    Severity
    Category
    Status
    Source
    Language