mirror of
https://github.com/urbit/shrub.git
synced 2025-01-02 01:25:55 +03:00
interface: update title eagerly
This commit is contained in:
parent
9d4003d415
commit
7519838cd2
@ -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>
|
||||
|
@ -70,7 +70,7 @@ export class LinksApp extends Component {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Helmet>
|
||||
<Helmet defer={false}>
|
||||
<title>{totalUnseen > 0 ? `(${totalUnseen}) ` : ''}OS1 - Links</title>
|
||||
</Helmet>
|
||||
<Switch>
|
||||
|
@ -71,7 +71,7 @@ export default function PublishApp(props: PublishAppProps) {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Helmet>
|
||||
<Helmet defer={false}>
|
||||
<title>{unreadTotal > 0 ? `(${unreadTotal}) ` : ""}OS1 - Publish</title>
|
||||
</Helmet>
|
||||
<Route
|
||||
|
Loading…
Reference in New Issue
Block a user