From 42840236b0e8a6fe79d6fca1623e97a249261df7 Mon Sep 17 00:00:00 2001
From: Fabio Manganiello <fabio@manganiello.tech>
Date: Sun, 23 Mar 2025 23:51:40 +0100
Subject: [PATCH] =?UTF-8?q?=EF=86=88=20=20Fixed=20two=20type=20errors.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 frontend/src/components/PointInfo.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/frontend/src/components/PointInfo.vue b/frontend/src/components/PointInfo.vue
index 594cfae..80fb3ad 100644
--- a/frontend/src/components/PointInfo.vue
+++ b/frontend/src/components/PointInfo.vue
@@ -89,7 +89,7 @@ export default {
 
   data() {
     return {
-      newValue: null,
+      newValue: {} as GPSPoint,
       editDescription: false,
       popup: null as Overlay | null,
     }
@@ -162,7 +162,7 @@ export default {
     editDescription(edit: boolean) {
       if (edit) {
         this.$nextTick(() => {
-          this.$refs.description?.focus()
+          (this.$refs.description as HTMLTextAreaElement).focus()
         })
       }
     },