From 1607b4993e514109df26a5c12ab1353a7eb88df0 Mon Sep 17 00:00:00 2001
From: Fabio Manganiello <fabio@manganiello.tech>
Date: Wed, 26 Mar 2025 22:11:31 +0100
Subject: [PATCH] =?UTF-8?q?=EF=86=88=20=20Fixed=20potential=20null=20refer?=
 =?UTF-8?q?ence?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 frontend/src/views/Login.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontend/src/views/Login.vue b/frontend/src/views/Login.vue
index 9a1d469..25f0816 100644
--- a/frontend/src/views/Login.vue
+++ b/frontend/src/views/Login.vue
@@ -91,7 +91,7 @@ export default {
 
   mounted() {
     this.$nextTick(() => {
-      (this.$refs.username as HTMLElement).focus();
+      (this.$refs.username as HTMLElement | null)?.focus();
     });
   },
 };