aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/subscription
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-02-25 16:58:42 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-02-25 16:58:42 +0100
commitb55ee4d97493f66584f2da0b2f5bb43dcfe25fc4 (patch)
tree6b6701cb37e024648b41cc9a6c4174eda35487f9 /src/components/subscription
parentremove ping (diff)
downloadferdium-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')
-rw-r--r--src/components/subscription/SubscriptionPopup.js3
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';
3import { observer } from 'mobx-react'; 3import { observer } from 'mobx-react';
4import { defineMessages, intlShape } from 'react-intl'; 4import { defineMessages, intlShape } from 'react-intl';
5import Webview from 'react-electron-web-view'; 5import Webview from 'react-electron-web-view';
6import ms from 'ms';
6 7
7import Button from '../ui/Button'; 8import 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() {