From f867273925b12f89ef276765be13e5893d615b07 Mon Sep 17 00:00:00 2001 From: Piero Nicolli Date: Tue, 30 Apr 2024 18:02:02 +0200 Subject: [PATCH] Cleaned up useless injectIntl in DefaultView (#5995) --- packages/volto/news/5994.internal | 1 + packages/volto/src/components/theme/View/DefaultView.jsx | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 packages/volto/news/5994.internal diff --git a/packages/volto/news/5994.internal b/packages/volto/news/5994.internal new file mode 100644 index 0000000000..08d77e1d6b --- /dev/null +++ b/packages/volto/news/5994.internal @@ -0,0 +1 @@ +Cleaned up useless injectIntl in DefaultView @pnicolli diff --git a/packages/volto/src/components/theme/View/DefaultView.jsx b/packages/volto/src/components/theme/View/DefaultView.jsx index 69f1455d7f..770dbd6e1a 100644 --- a/packages/volto/src/components/theme/View/DefaultView.jsx +++ b/packages/volto/src/components/theme/View/DefaultView.jsx @@ -5,7 +5,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { injectIntl } from 'react-intl'; import { Container as SemanticContainer, @@ -137,4 +136,4 @@ DefaultView.propTypes = { }).isRequired, }; -export default injectIntl(DefaultView); +export default DefaultView;