From e4fc482254a2434db907868510ba60e0899b89de Mon Sep 17 00:00:00 2001 From: ronnyTodgers Date: Tue, 9 Jan 2024 17:00:28 +0000 Subject: [PATCH] Update index.js Do not blackhole console in the staging fork --- src/index.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/index.js b/src/index.js index 73ffaa0..b962e0f 100644 --- a/src/index.js +++ b/src/index.js @@ -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);