Merge pull request #181 from OktopUSP/dev

fix: page number
This commit is contained in:
Leandro Antônio Farias Machado 2024-01-11 19:49:05 -03:00 committed by GitHub
commit 4dd3930209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ const Page = () => {
}) })
.then(json => { .then(json => {
setPages(json.pages + 1) setPages(json.pages + 1)
setPage(json.page) setPage(json.page +1)
setDevices(json.devices) setDevices(json.devices)
setLoading(false) setLoading(false)
return setDeviceFound(true) return setDeviceFound(true)