diff --git a/src/renderer/.flowconfig b/src/renderer/.flowconfig index 3c2047716..4cc02e276 100644 --- a/src/renderer/.flowconfig +++ b/src/renderer/.flowconfig @@ -10,5 +10,6 @@ [options] suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe suppress_comment=\\(.\\|\n\\)*\\$FlowIssue +module.name_mapper='^constants\(.*\)$' -> '/js/constants\1' [strict] diff --git a/src/renderer/js/redux/reducers/app.js b/src/renderer/js/redux/reducers/app.js index 7facd4e72..4bd882689 100644 --- a/src/renderer/js/redux/reducers/app.js +++ b/src/renderer/js/redux/reducers/app.js @@ -1,7 +1,7 @@ // @flow -import * as types from "../../constants/action_types"; -import * as modalTypes from "../../constants/modal_types"; +import * as types from "constants/action_types"; +import * as modalTypes from "constants/modal_types"; // $FlowIssue: Flow cannot find election const { remote } = require("electron"); @@ -48,6 +48,7 @@ const defaultState: AppState = { hasSignature: false, badgeNumber: 0, volume: Number(sessionStorage.getItem("volume")) || 1, + downloadProgress: undefined, upgradeDownloading: undefined, upgradeDownloadComplete: undefined,