Count the treats
Your task Replace const treats = 0; with const [treats, setTreats] = useState(0);. Make the button run setTreats(treats + 1). Then tap it.
Getting the editor ready
Your task Replace const treats = 0; with const [treats, setTreats] = useState(0);. Make the button run setTreats(treats + 1). Then tap it.
Getting the editor ready