remove local Log

This commit is contained in:
Abhinav 2022-11-25 18:36:05 +05:30
parent 3916752912
commit 3c0561aaa7

View file

@ -150,7 +150,6 @@ function PhotoViewer(props: Iprops) {
window.addEventListener('keyup', handleKeyUp); window.addEventListener('keyup', handleKeyUp);
// window.addEventListener('copy', handleCopyEvent); // window.addEventListener('copy', handleCopyEvent);
return () => { return () => {
addLocalLog(() => 'Removing listener');
window.removeEventListener('keyup', handleKeyUp); window.removeEventListener('keyup', handleKeyUp);
// window.removeEventListener('copy', handleCopyEvent); // window.removeEventListener('copy', handleCopyEvent);
}; };