Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

Commit

Permalink
fix(deps): Support react-helmet 6.x (#663)
Browse files Browse the repository at this point in the history
The named export was added in `react-helmet` 5 and the default export
was removed in `react-helmet` 6

BREAKING CHANGE: Requires `react-helmet` >= 5.0.0
  • Loading branch information
etaoins authored Apr 15, 2020
1 parent 4f9dd4c commit 8f9a592
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion react/StyleGuideProvider/StyleGuideProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 8f9a592

Please sign in to comment.