aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-09-04 10:54:50 -0700
committerAnton Tananaev <anton@traccar.org>2023-09-04 10:54:50 -0700
commit45cbd462df7f41739d52f4fb326a87693257e973 (patch)
treeeed2818f286220f8b25ea6cbc4aed8c12fe337bb /modern/src
parent9a59d6524c45d5542433302a498f9ada4e45e806 (diff)
downloadtrackermap-web-45cbd462df7f41739d52f4fb326a87693257e973.tar.gz
trackermap-web-45cbd462df7f41739d52f4fb326a87693257e973.tar.bz2
trackermap-web-45cbd462df7f41739d52f4fb326a87693257e973.zip
Fix lint issues
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/common/util/formatter.js5
1 files changed, 2 insertions, 3 deletions
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'));