diff --git a/P3/frontend/src/App.js b/P3/frontend/src/App.js index 8305c7a..2f8b086 100644 --- a/P3/frontend/src/App.js +++ b/P3/frontend/src/App.js @@ -43,6 +43,11 @@ const ShelterProtectedRoute = ({ children }) => { } function App() { + if (process.env.NODE_ENV === 'production') { + console.log = () => { }; + console.warn = () => { }; + console.error = () => { }; + } return (