Fix server rendered title tag. Closes #2251

This commit is contained in:
Gabe Kangas
2022-10-23 23:08:46 -07:00
parent c6a67a1c66
commit a0093fb0c9
2 changed files with 2 additions and 4 deletions

View File

@ -18,7 +18,7 @@ export const TitleNotifier: FC = () => {
const onBlur = () => {
backgrounded = true;
defaultTitle = document.title;
defaultTitle = window.document.title;
};
const onFocus = () => {