Skip to content

Commit

Permalink
refresh docviewer on watermark addition
Browse files Browse the repository at this point in the history
  • Loading branch information
nkan-aot2 authored Sep 20, 2024
1 parent cda4339 commit 9abc9dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/src/components/FOI/Home/Redlining.js
Original file line number Diff line number Diff line change
Expand Up @@ -1373,6 +1373,8 @@ const Redlining = React.forwardRef(
}
},
});
docViewer.refreshAll();
docViewer.updateView();
}
//Cleanup Function: removes previous event listeiner to ensure handleCreateResponsePDFClick event is not called multiple times on click
return () => {
Expand Down

0 comments on commit 9abc9dc

Please sign in to comment.