summaryrefslogtreecommitdiffstats
path: root/ui/src/components/login.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/login.tsx')
-rw-r--r--ui/src/components/login.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/src/components/login.tsx b/ui/src/components/login.tsx
index 97899345..eb1d0baf 100644
--- a/ui/src/components/login.tsx
+++ b/ui/src/components/login.tsx
@@ -385,9 +385,7 @@ export class Login extends Component<any, State> {
let data = res.data as GetSiteResponse;
this.state.enable_nsfw = data.site.enable_nsfw;
this.setState(this.state);
- document.title = `${i18n.t('login')} - ${
- WebSocketService.Instance.site.name
- }`;
+ document.title = `${i18n.t('login')} - ${data.site.name}`;
}
}
}