refactor(ui): cleanup props usage
[e-mobility-charging-stations-simulator.git] / ui / web / src / components / actions / AddChargingStations.vue
index 164518b1f70e7fd8590d1b9b6dc1ab63998f4da9..387d8a1a7110860e55a954878bc6b874403e21ed 100644 (file)
@@ -11,7 +11,7 @@
     id="number-of-stations"
     v-model="state.numberOfStations"
     type="text"
-    name="number-of-station"
+    name="number-of-stations"
     placeholder="number of stations"
   />
   <br />
@@ -37,6 +37,7 @@
 <script setup lang="ts">
 import { getCurrentInstance, onMounted, reactive } from 'vue'
 import Button from '@/components/buttons/Button.vue'
+import type { ResponsePayload } from '@/types'
 
 const state = reactive({
   ready: false,