refactor: calculating stock speed limit

This commit is contained in:
2025-05-31 14:21:43 +02:00
parent 39f2688611
commit 32fbf51943
6 changed files with 63 additions and 210 deletions
+1 -3
View File
@@ -25,13 +25,11 @@ import {
totalWeight,
} from './utils/vehicleUtils';
import i18n from './i18n-setup';
import http from './http';
import realCompositionsJSON from './data/realCompositions.json';
export const useStore = defineStore({
id: 'store',
export const useStore = defineStore('store', {
state: () => ({
chosenCar: null as ICarWagon | null,
chosenLoco: null as ILocomotive | null,