mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-20 07:16:08 +08:00
Fix lint warning
This commit is contained in:
parent
8bc31f1696
commit
601d799ec8
|
@ -15,7 +15,7 @@ import {
|
|||
export function snoozedUntilMessage(snoozeDate, now = moment()) {
|
||||
let message = localized('Snoozed');
|
||||
if (snoozeDate) {
|
||||
let dateFormat = DateUtils.DATE_FORMAT_SHORT;
|
||||
const dateFormat = DateUtils.DATE_FORMAT_SHORT;
|
||||
const date = moment(snoozeDate);
|
||||
const hourDifference = moment.duration(date.diff(now)).asHours();
|
||||
|
||||
|
|
Loading…
Reference in a new issue