diff --git a/src/App.jsx b/src/App.jsx index 055c38e..94a2a98 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -25,6 +25,17 @@ function ScrollToTopComp() { } function App() { + // Global Content Protection + useEffect(() => { + const handleContextMenu = (e) => { + e.preventDefault(); + }; + document.addEventListener('contextmenu', handleContextMenu); + return () => { + document.removeEventListener('contextmenu', handleContextMenu); + }; + }, []); + return (