Updated loging for auto update and disabled logging on dev

This commit is contained in:
Patrick Fic
2020-10-26 13:44:49 -07:00
parent ad48326dc0
commit d986653845
3 changed files with 7 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ import App from "./App/App";
import "./index.css";
import { persistor, store } from "./redux/store";
require("dotenv").config();
LogRocket.init("imex/rps");
if (process.env.NODE_ENV === "production") LogRocket.init("imex/rps");
ReactDOM.render(
<Provider store={store}>