Correctly check "page load state" before state update

This commit is contained in:
schroda
2024-12-28 01:59:07 +01:00
parent c5630ca5ce
commit 347c88f240

View File

@@ -188,7 +188,7 @@ const BaseReaderViewer = forwardRef(
img.src = url;
}
if (pageLoadStates[index]) {
if (pageLoadStates[index].loaded) {
return;
}