diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2020-04-11 14:36:01 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2020-04-15 12:11:48 +0200 |
| commit | 0f7e814aa66d53fe14b19a39b8d09be0c696fc16 (patch) | |
| tree | 9aea8fe8a7c7aa3e9dd24564a9c641e480cdd90f /gui/src/main | |
| parent | c293f478e9328f9b947e4a4b858e8cbf838f75f3 (diff) | |
| download | mullvadvpn-0f7e814aa66d53fe14b19a39b8d09be0c696fc16.tar.xz mullvadvpn-0f7e814aa66d53fe14b19a39b8d09be0c696fc16.zip | |
Update to prettier 2.0.4, bump gettext-extractor and gettext-parser to the latest patch release
Diffstat (limited to 'gui/src/main')
| -rw-r--r-- | gui/src/main/index.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts index 2c3d71e628..7b63b11a28 100644 --- a/gui/src/main/index.ts +++ b/gui/src/main/index.ts @@ -1185,11 +1185,7 @@ class ApplicationMain { accountExpiry && !accountExpiry.hasExpired() && !this.accountExpiryNotificationTimeout && - accountExpiry.willHaveExpiredAt( - moment() - .add(3, 'days') - .toDate(), - ) + accountExpiry.willHaveExpiredAt(moment().add(3, 'days').toDate()) ) { this.notificationController.closeToExpiryNotification(accountExpiry); this.accountExpiryNotificationTimeout = global.setTimeout(() => { |
