From 3abe32d568ec275d740d7656702a666879a16466 Mon Sep 17 00:00:00 2001 From: Matjaž Črnko Date: Fri, 16 Jun 2023 21:29:19 +0200 Subject: fix: Modern - remove driverUniqueId formatter for now --- modern/src/common/components/PositionValue.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'modern/src/common/components') diff --git a/modern/src/common/components/PositionValue.js b/modern/src/common/components/PositionValue.js index cc2046da..58841939 100644 --- a/modern/src/common/components/PositionValue.js +++ b/modern/src/common/components/PositionValue.js @@ -18,7 +18,6 @@ import { formatVoltage, formatVolume, formatConsumption, - formatDriverUniqueId, } from '../util/formatter'; import { useAttributePreference, usePreference } from '../util/preferences'; import { useTranslation } from './LocalizationProvider'; @@ -82,8 +81,6 @@ const PositionValue = ({ position, property, attribute }) => { return value != null ? formatDistance(value, distanceUnit, t) : ''; case 'hours': return value != null ? formatNumericHours(value, t) : ''; - case 'driverUniqueId': - return value != null ? formatDriverUniqueId(value) : ''; default: if (typeof value === 'number') { return formatNumber(value); -- cgit v1.2.3