aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common')
-rw-r--r--modern/src/common/converter.js2
-rw-r--r--modern/src/common/formatter.js4
2 files changed, 4 insertions, 2 deletions
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'));