diff --git a/src/components/UnreadTabTip.tsx b/src/components/UnreadTabTip.tsx index 82f804ad..63b7faf2 100644 --- a/src/components/UnreadTabTip.tsx +++ b/src/components/UnreadTabTip.tsx @@ -32,6 +32,12 @@ const UnreadTabTip = () => { }); useEffect(() => { + if (loginUid === 0) { + if (title) { + document.title = title; + } + return; + } total = 0; // dm Object.entries(dmMids).forEach(([id, mids]) => {