diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-06-28 23:05:34 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-06-28 23:05:34 -0700 |
commit | 68589b9934637cdaa90b3452d4c16570eb2b0413 (patch) | |
tree | 993cb7b3884c340089fbbb5581ffa567de21362a /modern/src/settings/MaintenancePage.js | |
parent | 5a5bfd6c42539f72d03ec0b1670636ce9fb4b590 (diff) | |
download | trackermap-web-68589b9934637cdaa90b3452d4c16570eb2b0413.tar.gz trackermap-web-68589b9934637cdaa90b3452d4c16570eb2b0413.tar.bz2 trackermap-web-68589b9934637cdaa90b3452d4c16570eb2b0413.zip |
Fix some warnings
Diffstat (limited to 'modern/src/settings/MaintenancePage.js')
-rw-r--r-- | modern/src/settings/MaintenancePage.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/settings/MaintenancePage.js b/modern/src/settings/MaintenancePage.js index 9263ee30..3b4fde54 100644 --- a/modern/src/settings/MaintenancePage.js +++ b/modern/src/settings/MaintenancePage.js @@ -64,6 +64,8 @@ const MaintenancePage = () => { return speedFromKnots(value, speedUnit); case 'distance': return distanceFromMeters(value, distanceUnit); + default: + return value; } } return value; @@ -78,6 +80,8 @@ const MaintenancePage = () => { return speedToKnots(value, speedUnit); case 'distance': return distanceToMeters(value, distanceUnit); + default: + return value; } } return value; |