Fix lint warning

This commit is contained in:
Ben Gotow 2023-10-09 15:52:49 -05:00
parent 8bc31f1696
commit 601d799ec8

View file

@ -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();