interface: update title eagerly

This commit is contained in:
Liam Fitzgerald 2020-09-01 00:38:11 +10:00
parent 9d4003d415
commit 7519838cd2
3 changed files with 3 additions and 3 deletions

View File

@ -108,7 +108,7 @@ export default class ChatApp extends React.Component<ChatAppProps, {}> {
return (
<>
<Helmet>
<Helmet defer={false}>
<title>{totalUnreads > 0 ? `(${totalUnreads}) ` : ''}OS1 - Chat</title>
</Helmet>
<Switch>

View File

@ -70,7 +70,7 @@ export class LinksApp extends Component {
return (
<>
<Helmet>
<Helmet defer={false}>
<title>{totalUnseen > 0 ? `(${totalUnseen}) ` : ''}OS1 - Links</title>
</Helmet>
<Switch>

View File

@ -71,7 +71,7 @@ export default function PublishApp(props: PublishAppProps) {
return (
<>
<Helmet>
<Helmet defer={false}>
<title>{unreadTotal > 0 ? `(${unreadTotal}) ` : ""}OS1 - Publish</title>
</Helmet>
<Route