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/privacy_policy/index.js | |
parent | e82467ca41f4940add32061ca70214e236cc435f (diff) |
Add title to pages with missing title in Web UI (#19322)
Diffstat (limited to 'app/javascript/mastodon/features/privacy_policy/index.js')
-rw-r--r-- | app/javascript/mastodon/features/privacy_policy/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/privacy_policy/index.js b/app/javascript/mastodon/features/privacy_policy/index.js index b7ca03d2c..5fbe340c0 100644 --- a/app/javascript/mastodon/features/privacy_policy/index.js +++ b/app/javascript/mastodon/features/privacy_policy/index.js @@ -1,6 +1,5 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { title } from 'mastodon/initial_state'; import { Helmet } from 'react-helmet'; import { FormattedMessage, FormattedDate, injectIntl, defineMessages } from 'react-intl'; import Column from 'mastodon/components/column'; @@ -51,7 +50,7 @@ class PrivacyPolicy extends React.PureComponent { </div> <Helmet> - <title>{intl.formatMessage(messages.title)} - {title}</title> + <title>{intl.formatMessage(messages.title)}</title> </Helmet> </Column> ); |