remove local Log
This commit is contained in:
parent
3916752912
commit
3c0561aaa7
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue