about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/privacy_policy/index.js
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2022-10-09 10:55:09 +0900
committerGitHub <noreply@github.com>2022-10-09 03:55:09 +0200
commita5112b51fdf3ec2b31690e064ea330a090e71957 (patch)
tree49ec7d189dd61c8e113b37c514c33296e200c2ca /app/javascript/mastodon/features/privacy_policy/index.js
parente82467ca41f4940add32061ca70214e236cc435f (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.js3
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>
     );