I would place it in the useEffect that is running each time timer updates. Clear the interval in the else branch when the limit it hit.
確定! 回上一頁