Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agegr/pi-web
/ syncWindowTitle
Function
syncWindowTitle
components/AppShell.tsx:426–428 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
424
425
useEffect(() => {
426
const syncWindowTitle = () => {
427
if (document.title !== windowTitle) document.title = windowTitle;
428
};
429
430
syncWindowTitle();
431
const observer = new MutationObserver(syncWindowTitle);
Callers
1
AppShell
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected