mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-09-18 01:19:24 +00:00
Update frontend/src/components/viewer/ThumbnailSidebar.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
1709ca9049
commit
9599bca8a9
@ -88,7 +88,7 @@ export function ThumbnailSidebar({ visible, onToggle, colorScheme }: ThumbnailSi
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
}, [visible, totalPages, thumbnails]);
|
}, [visible, totalPages]);
|
||||||
|
|
||||||
const handlePageClick = (pageIndex: number) => {
|
const handlePageClick = (pageIndex: number) => {
|
||||||
const pageNumber = pageIndex + 1; // Convert to 1-based
|
const pageNumber = pageIndex + 1; // Convert to 1-based
|
||||||
|
Loading…
x
Reference in New Issue
Block a user