Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

devTools: isDevelopment

Blue Mouseccfb319af373
diff --git a/app/redux/store/index.ts b/app/redux/store/index.ts
index f48661bac..3c513be26 100644
--- a/app/redux/store/index.ts
+++ b/app/redux/store/index.ts
@@ -11,6 +11,8 @@ import alertsProjectsSlice from '../reducers/ui/alerts'
import themeSlice from '../reducers/ui/theme'
import cacheSlice from '../reducers/ui/cache'
+import { isDevelopment } from 'redux/constants'
+
const rootReducer = combineReducers({
auth: authSlice,
errors: errorsSlice,
@@ -29,7 +31,7 @@ const sagaMiddleware = createSagaMiddleware()
export const store = configureStore({
reducer: rootReducer,
middleware: [sagaMiddleware],
- devTools: true,
+ devTools: isDevelopment,
})
sagaMiddleware.run(rootSaga)