From c78e4aab7f29114f677855b122ac6fa39fe61911 Mon Sep 17 00:00:00 2001 From: David Luzar <5153846+dwelle@users.noreply.github.com> Date: Wed, 20 Aug 2025 14:09:20 +0200 Subject: [PATCH] chore: tweak title & remove timeout (#9883) --- excalidraw-app/App.tsx | 7 ------- excalidraw-app/index.html | 4 +--- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/excalidraw-app/App.tsx b/excalidraw-app/App.tsx index 932743ddf..b972e6e5b 100644 --- a/excalidraw-app/App.tsx +++ b/excalidraw-app/App.tsx @@ -20,7 +20,6 @@ import { APP_NAME, EVENT, THEME, - TITLE_TIMEOUT, VERSION_TIMEOUT, debounce, getVersion, @@ -499,11 +498,6 @@ const ExcalidrawWrapper = () => { } }; - const titleTimeout = setTimeout( - () => (document.title = APP_NAME), - TITLE_TIMEOUT, - ); - const syncData = debounce(() => { if (isTestEnv()) { return; @@ -594,7 +588,6 @@ const ExcalidrawWrapper = () => { visibilityChange, false, ); - clearTimeout(titleTimeout); }; }, [isCollabDisabled, collabAPI, excalidrawAPI, setLangCode]); diff --git a/excalidraw-app/index.html b/excalidraw-app/index.html index 7eac3e39a..1c29d7220 100644 --- a/excalidraw-app/index.html +++ b/excalidraw-app/index.html @@ -2,9 +2,7 @@
-