fix: add defensive check for isLoadingMore

This commit is contained in:
gitkeniwo 2025-11-20 15:06:07 +01:00
parent e6a345e428
commit b251380bd6
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ const Attachments = observer(() => {
}, []);
const handleLoadMore = async () => {
if (!nextPageToken) {
if (!nextPageToken || isLoadingMore) {
return;
}
setIsLoadingMore(true);