fix page offset bug

This commit is contained in:
Barry Gitarts 2019-10-29 13:55:34 -04:00 committed by Barry G
parent b11f2a4f19
commit aeb32072ed

View File

@ -171,7 +171,7 @@ function ListProjects() {
});
}
})
setOffset(offset-offset)
setOffset(offset-OFFSET)
}} className={classnames(classes.previousButton, classes.blue)}>{'< Previous'}</Button>}
{profiles.length === OFFSET && <Button onClick={() => {
fetchMore({