Zobrazeni pocasi po trase planu

This commit is contained in:
Michal Kváček
2024-09-09 17:41:34 +02:00
parent 7011aa3223
commit 786c59cc4a
7 changed files with 126 additions and 9 deletions
+7 -2
View File
@@ -1,3 +1,8 @@
export const ktToKph = (speedInKt) => {
return speedInKt;
export const useUnitsConvertors = () => {
const kmhToKnots = (speedKmh) => {
return Math.round(speedKmh * 0.53996);
}
return {kmhToKnots}
}