diff --git a/ui/redux/actions/app.js b/ui/redux/actions/app.js index 328cdcaef..8133b3f63 100644 --- a/ui/redux/actions/app.js +++ b/ui/redux/actions/app.js @@ -290,10 +290,12 @@ export function doMinVersionCheck() { export function doMinVersionSubscribe() { return (dispatch) => { + // @if process.env.NODE_ENV='production' dispatch(doMinVersionCheck()); const CHECK_UPGRADE_INTERVAL_MS = 60 * 60 * 1000; setInterval(() => dispatch(doMinVersionCheck()), CHECK_UPGRADE_INTERVAL_MS); + // @endif }; }