diff --git a/netmanager/src/App.js b/netmanager/src/App.js index 7eec5ebbd8..2eab866ace 100644 --- a/netmanager/src/App.js +++ b/netmanager/src/App.js @@ -47,25 +47,6 @@ if (localStorage.jwtToken) { } const App = () => { - // disabling feature - useEffect(() => { - if (process.env.REACT_APP_ALLOW_DEV_TOOLS === 'staging') { - return; - } else { - // Disable context menu (right click) - document.addEventListener('contextmenu', (e) => { - e.preventDefault(); - }); - - // Disable F12 key (open developer tools) - document.addEventListener('keydown', (e) => { - if (e.keyCode === 123) { - e.preventDefault(); - } - }); - } - }, []); - return (