refactor(ui): cleanup props usage
[e-mobility-charging-stations-simulator.git] / ui / web / src / components / charging-stations / CSTable.vue
index f8e3bf8b9fa2b0d7e77af8ac72fbb7d0966f893d..cc826287e2384f7600d1494ca8a5e18f4917f950 100644 (file)
@@ -20,7 +20,7 @@
     </thead>
     <tbody id="cs-table__body">
       <CSData
-        v-for="chargingStation in props.chargingStations"
+        v-for="chargingStation in chargingStations"
         :key="chargingStation.stationInfo?.hashId"
         :charging-station="chargingStation"
       />
@@ -32,7 +32,7 @@
 import CSData from '@/components/charging-stations/CSData.vue'
 import type { ChargingStationData } from '@/types'
 
-const props = defineProps<{
+defineProps<{
   chargingStations: ChargingStationData[]
 }>()
 </script>