Commit fbe29c91 authored by Michael Iseard's avatar Michael Iseard
Browse files

Fix setFurthestPage assignment

parent 9bbe3d6c
......@@ -35,7 +35,7 @@ const Guide = ({pages = [], className, onFinish}) => {
const goForward = () => {
if (canGoForward) {
setFurthestPage(Math.max(currentPage + 1), furthestPage)
setFurthestPage(Math.max(currentPage + 1, furthestPage))
setCurrentPage(currentPage + 1)
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment