Updated loging for auto update and disabled logging on dev
This commit is contained in:
@@ -29,7 +29,7 @@ export function WatcherStartupAtom({ appSettings }) {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<DataLabel label="Run Watcher on Startup??">
|
||||
<DataLabel label="Run Watcher on Startup?">
|
||||
<Switch
|
||||
onChange={handleChange}
|
||||
checked={appSettings && appSettings.runWatcherOnStartup}
|
||||
|
||||
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user