Skip to content

Commit

Permalink
Cleaned up useless injectIntl in DefaultView (#5995)
Browse files Browse the repository at this point in the history
  • Loading branch information
pnicolli authored Apr 30, 2024
1 parent 01cbe72 commit f867273
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/volto/news/5994.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Cleaned up useless injectIntl in DefaultView @pnicolli
3 changes: 1 addition & 2 deletions packages/volto/src/components/theme/View/DefaultView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import React from 'react';
import PropTypes from 'prop-types';
import { injectIntl } from 'react-intl';

import {
Container as SemanticContainer,
Expand Down Expand Up @@ -137,4 +136,4 @@ DefaultView.propTypes = {
}).isRequired,
};

export default injectIntl(DefaultView);
export default DefaultView;

0 comments on commit f867273

Please sign in to comment.