From 790fe8a48a1c14fc46b564f67080bda10be4a101 Mon Sep 17 00:00:00 2001 From: TheMaddax Date: Wed, 17 Dec 2025 19:50:28 -0700 Subject: [PATCH] Fix TypeScript errors in Home.vue - Add type assertions for event.target in mouseover/mouseout handlers - Fixes vue-tsc compilation errors during Docker build --- resources/js/Pages/Home.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/js/Pages/Home.vue b/resources/js/Pages/Home.vue index 83c3ecdf..d65a0c2b 100644 --- a/resources/js/Pages/Home.vue +++ b/resources/js/Pages/Home.vue @@ -117,8 +117,8 @@ const subscribe = async () => { @click="subscribe" class="px-6 py-3 rounded-lg font-semibold text-white transition-colors" style="background-color: #6b9080;" - @mouseover="$event.target.style.backgroundColor = '#5a8070'" - @mouseout="$event.target.style.backgroundColor = '#6b9080'" + @mouseover="($event.target as HTMLElement).style.backgroundColor = '#5a8070'" + @mouseout="($event.target as HTMLElement).style.backgroundColor = '#6b9080'" > Subscribe to Updates @@ -199,8 +199,8 @@ const subscribe = async () => { @click="openDocument(doc, $event)" class="inline-block px-4 py-2 rounded-lg text-white font-semibold mr-2 mb-2 transition-colors" style="background-color: #6b9080;" - @mouseover="$event.target.style.backgroundColor = '#5a8070'" - @mouseout="$event.target.style.backgroundColor = '#6b9080'" + @mouseover="($event.target as HTMLElement).style.backgroundColor = '#5a8070'" + @mouseout="($event.target as HTMLElement).style.backgroundColor = '#6b9080'" > 📄 {{ doc.title }}