Skip to content

Commit

Permalink
Display right counter value for scanned websites when exiting from Cu… (
Browse files Browse the repository at this point in the history
#115)

* Display right counter value for scanned websites when exiting from Custom Flow
  • Loading branch information
WilsonkwSheng authored Feb 7, 2025
1 parent c1c8420 commit 42e78cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/components/ScanningComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const ScanningComponent = ({ scanningMessage }) => {
if (urlItem.status === "scanned") {
const currDisplayPageNum = urlItem.urlScannedNum;
setDisplayPageNum(currDisplayPageNum);
setPagesScanned(currDisplayPageNum + 1);
setPagesScanned(currDisplayPageNum);
} else {
setDisplayPageNum(pagesScanned);
}
Expand Down

0 comments on commit 42e78cd

Please sign in to comment.