diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2020-04-15 12:57:49 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2020-04-15 12:57:49 +0200 |
| commit | 31663e2fe538d5de4b59363298629b092cd2129e (patch) | |
| tree | 9aea8fe8a7c7aa3e9dd24564a9c641e480cdd90f /gui/src/main | |
| parent | c293f478e9328f9b947e4a4b858e8cbf838f75f3 (diff) | |
| parent | 0f7e814aa66d53fe14b19a39b8d09be0c696fc16 (diff) | |
| download | mullvadvpn-31663e2fe538d5de4b59363298629b092cd2129e.tar.xz mullvadvpn-31663e2fe538d5de4b59363298629b092cd2129e.zip | |
Merge branch 'update-prettier'
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(() => { |
