Fixed absolute path issue in flow
This commit is contained in:
parent
15539aa616
commit
1fb55c4a93
2 changed files with 4 additions and 2 deletions
|
@ -10,5 +10,6 @@
|
||||||
[options]
|
[options]
|
||||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
|
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
|
||||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
|
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
|
||||||
|
module.name_mapper='^constants\(.*\)$' -> '<PROJECT_ROOT>/js/constants\1'
|
||||||
|
|
||||||
[strict]
|
[strict]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import * as types from "../../constants/action_types";
|
import * as types from "constants/action_types";
|
||||||
import * as modalTypes from "../../constants/modal_types";
|
import * as modalTypes from "constants/modal_types";
|
||||||
|
|
||||||
// $FlowIssue: Flow cannot find election
|
// $FlowIssue: Flow cannot find election
|
||||||
const { remote } = require("electron");
|
const { remote } = require("electron");
|
||||||
|
@ -48,6 +48,7 @@ const defaultState: AppState = {
|
||||||
hasSignature: false,
|
hasSignature: false,
|
||||||
badgeNumber: 0,
|
badgeNumber: 0,
|
||||||
volume: Number(sessionStorage.getItem("volume")) || 1,
|
volume: Number(sessionStorage.getItem("volume")) || 1,
|
||||||
|
|
||||||
downloadProgress: undefined,
|
downloadProgress: undefined,
|
||||||
upgradeDownloading: undefined,
|
upgradeDownloading: undefined,
|
||||||
upgradeDownloadComplete: undefined,
|
upgradeDownloadComplete: undefined,
|
||||||
|
|
Loading…
Add table
Reference in a new issue