Browse Source

chore: tweak title & remove timeout (#9883)

pull/9894/head
David Luzar 4 months ago committed by GitHub
parent
commit
c78e4aab7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      excalidraw-app/App.tsx
  2. 4
      excalidraw-app/index.html

7
excalidraw-app/App.tsx

@ -20,7 +20,6 @@ import { @@ -20,7 +20,6 @@ import {
APP_NAME,
EVENT,
THEME,
TITLE_TIMEOUT,
VERSION_TIMEOUT,
debounce,
getVersion,
@ -499,11 +498,6 @@ const ExcalidrawWrapper = () => { @@ -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 = () => { @@ -594,7 +588,6 @@ const ExcalidrawWrapper = () => {
visibilityChange,
false,
);
clearTimeout(titleTimeout);
};
}, [isCollabDisabled, collabAPI, excalidrawAPI, setLangCode]);

4
excalidraw-app/index.html

@ -2,9 +2,7 @@ @@ -2,9 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>
Free, collaborative whiteboard • Hand-drawn look & feel | Excalidraw
</title>
<title>Excalidraw Whiteboard</title>
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover, shrink-to-fit=no"

Loading…
Cancel
Save