From a811040a340dbd631ea40cdc76ab14190aef8079 Mon Sep 17 00:00:00 2001 From: padreug Date: Sat, 6 Sep 2025 17:00:27 +0200 Subject: [PATCH] Fix TypeScript build errors in module pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace location.reload() with proper window.location.reload() function calls - Remove unused isReady variable in ChatPage.vue - Add handleRetry functions in ChatPage.vue and EventsPage.vue - Ensures successful production builds with vue-tsc type checking 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/modules/chat/views/ChatPage.vue | 8 ++++++-- src/modules/events/views/EventsPage.vue | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/modules/chat/views/ChatPage.vue b/src/modules/chat/views/ChatPage.vue index d22544e..e6d48f9 100644 --- a/src/modules/chat/views/ChatPage.vue +++ b/src/modules/chat/views/ChatPage.vue @@ -15,7 +15,7 @@

Failed to load chat

{{ error }}

-
@@ -32,5 +32,9 @@ import { useModuleReady } from '@/composables/useModuleReady' import ChatComponent from '../components/ChatComponent.vue' // Simple reactive module loading - no complex logic needed -const { isReady, isLoading, error } = useModuleReady('chat') +const { isLoading, error } = useModuleReady('chat') + +function handleRetry() { + window.location.reload() +} \ No newline at end of file diff --git a/src/modules/events/views/EventsPage.vue b/src/modules/events/views/EventsPage.vue index 261a786..9101ba8 100644 --- a/src/modules/events/views/EventsPage.vue +++ b/src/modules/events/views/EventsPage.vue @@ -64,6 +64,10 @@ function handlePurchaseClick(event: { selectedEvent.value = event showPurchaseDialog.value = true } + +function handleRetry() { + window.location.reload() +}