Correctly check "page load state" before state update
This commit is contained in:
@@ -188,7 +188,7 @@ const BaseReaderViewer = forwardRef(
|
|||||||
img.src = url;
|
img.src = url;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pageLoadStates[index]) {
|
if (pageLoadStates[index].loaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user