From dc0354a28f972ed69a49a1df64e06cef752438d8 Mon Sep 17 00:00:00 2001 From: neoapps-dev Date: Fri, 10 Jul 2026 16:14:03 +0300 Subject: [PATCH] feat: LCEOnline instead of LCELive --- src/components/views/LceOnlineView.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/views/LceOnlineView.tsx b/src/components/views/LceOnlineView.tsx index 88cafb9..27d2e32 100644 --- a/src/components/views/LceOnlineView.tsx +++ b/src/components/views/LceOnlineView.tsx @@ -82,10 +82,12 @@ const LceOnlineView = memo(function LceOnlineView({ const handleStartHosting = async () => { playPressSound(); try { - await TauriService.startHostRelay(lceOnlineService.accessToken ?? "", 25565); + const token = lceOnlineService.accessToken ?? ""; + if (!token) return; + TauriService.startHostRelay(token, 25565).catch(() => {}); setIsHosting(true); } catch (e: unknown) { - setErrorModal(e instanceof Error ? e.message : "Failed to start relay"); + setErrorModal(e instanceof Error ? e.message : "Failed to start hosting"); } };