mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix single pagers
This commit is contained in:
committed by
psychedelicious
parent
c9c39c02b6
commit
488bf21925
@@ -22,7 +22,7 @@ export const useGalleryPagination = () => {
|
||||
if (!count) {
|
||||
return false;
|
||||
}
|
||||
return currentPage < pages;
|
||||
return currentPage + 1 < pages;
|
||||
}, [count, currentPage, pages]);
|
||||
const isPrevEnabled = useMemo(() => {
|
||||
if (!count) {
|
||||
|
||||
Reference in New Issue
Block a user