diff --git a/README.md b/README.md index 88b6a19..00ad270 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ In the example above, the countdown will start at 15 seconds (one quarter before ```js const children = ({ remainingTime }) => { - const minutes = Math.floor((remainingTime % 3600) / 60) + const minutes = Math.floor(remainingTime / 60) const seconds = remainingTime % 60 return `${minutes}:${seconds}`