Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
Do not blackhole console in the staging fork
  • Loading branch information
ronnyTodgers authored Jan 9, 2024
1 parent 93d33b5 commit e4fc482
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ import App from "./components/App"
import { DataProvider } from "./contexts/DataContext"
import { AuthProvider } from "./contexts/AuthContext"

if (process.env.NODE_ENV === 'production') {
console.log = () => { }
console.error = () => { }
console.debug = () => { }
}


const container = document.getElementById('root');
const root = createRoot(container);
Expand Down

0 comments on commit e4fc482

Please sign in to comment.