From fb45345bb2f09df87181ac0cd364e8c00a8e713d Mon Sep 17 00:00:00 2001
From: Dessalines <tyhou13@gmx.com>
Date: Mon, 16 Nov 2020 15:32:44 -0600
Subject: [PATCH] Fixing undefined user page title. Fixes #77

---
 src/shared/components/user.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/shared/components/user.tsx b/src/shared/components/user.tsx
index 37a1384..3c50adf 100644
--- a/src/shared/components/user.tsx
+++ b/src/shared/components/user.tsx
@@ -250,7 +250,7 @@ export class User extends Component<any, UserState> {
   }
 
   get documentTitle(): string {
-    return `@${this.state.userName} - ${this.state.siteRes.site.name}`;
+    return `@${this.state.userRes.user.name} - ${this.state.siteRes.site.name}`;
   }
 
   get bioTag(): string {
-- 
2.44.1