Fixing undefined user page title. Fixes #77

This commit is contained in:
Dessalines 2020-11-16 15:32:44 -06:00
parent e86cd3eddb
commit fb45345bb2

View file

@ -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 {