From 45cbd462df7f41739d52f4fb326a87693257e973 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 4 Sep 2023 10:54:50 -0700 Subject: Fix lint issues --- modern/src/common/util/formatter.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modern/src/common/util') diff --git a/modern/src/common/util/formatter.js b/modern/src/common/util/formatter.js index 370542d1..aeacc145 100644 --- a/modern/src/common/util/formatter.js +++ b/modern/src/common/util/formatter.js @@ -1,5 +1,4 @@ import dayjs from 'dayjs'; -import 'dayjs/plugin/duration'; import duration from 'dayjs/plugin/duration'; import relativeTime from 'dayjs/plugin/relativeTime'; @@ -15,8 +14,8 @@ import { } from './converter'; import { prefixString } from './stringUtils'; -dayjs.extend(duration) -dayjs.extend(relativeTime) +dayjs.extend(duration); +dayjs.extend(relativeTime); export const formatBoolean = (value, t) => (value ? t('sharedYes') : t('sharedNo')); -- cgit v1.2.3