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!

use isDevelopment

Blue Mouse1d39b93c0212
diff --git a/app/root.tsx b/app/root.tsx
index 90111f395..2e3107ca1 100644
--- a/app/root.tsx
+++ b/app/root.tsx
@@ -9,7 +9,7 @@ import {
ScrollRestoration,
} from '@remix-run/react'
import { store } from 'redux/store'
-import { MAIN_URL, whitelist } from 'redux/constants'
+import { isDevelopment, whitelist } from 'redux/constants'
import { Provider } from 'react-redux'
import _map from 'lodash/map'
// @ts-ignore
@@ -106,7 +106,7 @@ export default function App() {
<AppWrapper />
<ScrollRestoration />
<Scripts />
- {process.env.NODE_ENV === 'development' && <LiveReload />}
+ {isDevelopment && <LiveReload />}
</AlertProvider>
</Provider>
</body>