From 456f44fa06772d368a2c89f6732a5cdd878274cf Mon Sep 17 00:00:00 2001 From: Amri Toufali Date: Tue, 11 Jul 2023 13:56:55 -0700 Subject: [PATCH] fix improper export of TermsOfService class --- app/javascript/mastodon/features/terms_of_service/index.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/javascript/mastodon/features/terms_of_service/index.jsx b/app/javascript/mastodon/features/terms_of_service/index.jsx index 6c51fbfc7a870f..46c184be0113a3 100644 --- a/app/javascript/mastodon/features/terms_of_service/index.jsx +++ b/app/javascript/mastodon/features/terms_of_service/index.jsx @@ -9,8 +9,7 @@ import { Helmet } from 'react-helmet'; import Column from 'mastodon/components/column'; -export default @injectIntl -class PrivacyPolicy extends React.PureComponent { +class TermsOfService extends React.PureComponent { static propTypes = { intl: PropTypes.object, @@ -239,3 +238,5 @@ class PrivacyPolicy extends React.PureComponent { } } + +export default injectIntl(TermsOfService); \ No newline at end of file