From e3460181198fa98c5320ebe28650160603797f33 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 6 May 2022 14:27:17 -0700 Subject: Fix style issues --- modern/src/common/converter.js | 2 +- modern/src/common/formatter.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'modern/src/common') diff --git a/modern/src/common/converter.js b/modern/src/common/converter.js index e70473ca..61e2dfe6 100644 --- a/modern/src/common/converter.js +++ b/modern/src/common/converter.js @@ -20,7 +20,7 @@ export const speedUnitString = (unit, t) => { default: return t('sharedKn'); } -} +}; export const speedFromKnots = (value, unit) => value * speedConverter(unit); diff --git a/modern/src/common/formatter.js b/modern/src/common/formatter.js index 06e3b12f..08e29bc4 100644 --- a/modern/src/common/formatter.js +++ b/modern/src/common/formatter.js @@ -1,5 +1,7 @@ import moment from 'moment'; -import { distanceFromMeters, distanceUnitString, speedFromKnots, speedUnitString, volumeFromLiters, volumeUnitString } from './converter'; +import { + distanceFromMeters, distanceUnitString, speedFromKnots, speedUnitString, volumeFromLiters, volumeUnitString, +} from './converter'; import { prefixString } from './stringUtils'; export const formatBoolean = (value, t) => (value ? t('sharedYes') : t('sharedNo')); -- cgit v1.2.3