diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-02-25 16:58:42 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-02-25 16:58:42 +0100 |
commit | b55ee4d97493f66584f2da0b2f5bb43dcfe25fc4 (patch) | |
tree | 6b6701cb37e024648b41cc9a6c4174eda35487f9 /src/components/subscription/SubscriptionPopup.js | |
parent | remove ping (diff) | |
download | ferdium-app-b55ee4d97493f66584f2da0b2f5bb43dcfe25fc4.tar.gz ferdium-app-b55ee4d97493f66584f2da0b2f5bb43dcfe25fc4.tar.zst ferdium-app-b55ee4d97493f66584f2da0b2f5bb43dcfe25fc4.zip |
replace ms time strings with ms module
Diffstat (limited to 'src/components/subscription/SubscriptionPopup.js')
-rw-r--r-- | src/components/subscription/SubscriptionPopup.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/subscription/SubscriptionPopup.js b/src/components/subscription/SubscriptionPopup.js index b5d7c4b2d..0f6f0260f 100644 --- a/src/components/subscription/SubscriptionPopup.js +++ b/src/components/subscription/SubscriptionPopup.js | |||
@@ -3,6 +3,7 @@ import PropTypes from 'prop-types'; | |||
3 | import { observer } from 'mobx-react'; | 3 | import { observer } from 'mobx-react'; |
4 | import { defineMessages, intlShape } from 'react-intl'; | 4 | import { defineMessages, intlShape } from 'react-intl'; |
5 | import Webview from 'react-electron-web-view'; | 5 | import Webview from 'react-electron-web-view'; |
6 | import ms from 'ms'; | ||
6 | 7 | ||
7 | import Button from '../ui/Button'; | 8 | import Button from '../ui/Button'; |
8 | 9 | ||
@@ -42,7 +43,7 @@ export default @observer class SubscriptionPopup extends Component { | |||
42 | 43 | ||
43 | setTimeout(() => { | 44 | setTimeout(() => { |
44 | this.props.closeWindow(); | 45 | this.props.closeWindow(); |
45 | }, 4000); | 46 | }, ms('4s')); |
46 | } | 47 | } |
47 | 48 | ||
48 | render() { | 49 | render() { |