refactor: refine type definitions
[e-mobility-charging-stations-simulator.git] / ui / web / src / components / actions / AddChargingStations.vue
index f638232b0162e52b44c23b1ced17c76f48b6b52e..6e3c2932e79002627a43feacb60d61d81cc5d41c 100644 (file)
@@ -118,7 +118,7 @@ const state = ref<{
   enableStatistics: false
 })
 
-watch(getCurrentInstance()?.appContext.config.globalProperties.$templates, () => {
+watch(getCurrentInstance()!.appContext.config.globalProperties.$templates, () => {
   state.value.renderTemplates = randomUUID()
 })
 </script>