Open jamilharun opened 7 months ago
i copied and pasted a code online then cause error to my code.
useEffect(() => { setTimeout(() => { setCount((count) => count + 1); }, 1000); });
you didnt add useEffect in the imports
import { useEffect, useState } from 'react'
i copied and pasted a code online then cause error to my code.