diff --git a/package.json b/package.json index a3fb7c36..bc8234df 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "peerDependencies": { "react": "^16.3.0", "react-dom": "^16.3.0", - "react-helmet": "^3.0.0 || ^4.0.0 || ^5.0.0" + "react-helmet": "^5.0.0 || ^6.0.0" }, "devDependencies": { "@commitlint/cli": "^6.1.0", diff --git a/react/StyleGuideProvider/StyleGuideProvider.js b/react/StyleGuideProvider/StyleGuideProvider.js index e0a59e84..ed5e00e4 100644 --- a/react/StyleGuideProvider/StyleGuideProvider.js +++ b/react/StyleGuideProvider/StyleGuideProvider.js @@ -4,7 +4,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; -import Helmet from 'react-helmet'; +import { Helmet } from 'react-helmet'; import ScreenReaderOnly from '../ScreenReaderOnly/ScreenReaderOnly'; const defaultPageTitleAU =