diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2022-10-09 10:55:09 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-09 03:55:09 +0200 |
commit | a5112b51fdf3ec2b31690e064ea330a090e71957 (patch) | |
tree | 49ec7d189dd61c8e113b37c514c33296e200c2ca /app/javascript/mastodon/features/home_timeline/index.js | |
parent | e82467ca41f4940add32061ca70214e236cc435f (diff) |
Add title to pages with missing title in Web UI (#19322)
Diffstat (limited to 'app/javascript/mastodon/features/home_timeline/index.js')
-rw-r--r-- | app/javascript/mastodon/features/home_timeline/index.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/javascript/mastodon/features/home_timeline/index.js b/app/javascript/mastodon/features/home_timeline/index.js index aac92244d..68770b739 100644 --- a/app/javascript/mastodon/features/home_timeline/index.js +++ b/app/javascript/mastodon/features/home_timeline/index.js @@ -15,13 +15,12 @@ import classNames from 'classnames'; import IconWithBadge from 'mastodon/components/icon_with_badge'; import NotSignedInIndicator from 'mastodon/components/not_signed_in_indicator'; import { Helmet } from 'react-helmet'; -import { title } from 'mastodon/initial_state'; const messages = defineMessages({ title: { id: 'column.home', defaultMessage: 'Home' }, show_announcements: { id: 'home.show_announcements', defaultMessage: 'Show announcements' }, hide_announcements: { id: 'home.hide_announcements', defaultMessage: 'Hide announcements' }, -}); +}); const mapStateToProps = state => ({ hasUnread: state.getIn(['timelines', 'home', 'unread']) > 0, @@ -167,7 +166,7 @@ class HomeTimeline extends React.PureComponent { ) : <NotSignedInIndicator />} <Helmet> - <title>{intl.formatMessage(messages.title)} - {title}</title> + <title>{intl.formatMessage(messages.title)}</title> </Helmet> </Column> ); |