diff --git a/fixtures/dom/package.json b/fixtures/dom/package.json index 333c566c7ded9..ef92dbfe50e4c 100644 --- a/fixtures/dom/package.json +++ b/fixtures/dom/package.json @@ -12,7 +12,7 @@ "query-string": "^4.2.3", "react": "^15.4.1", "react-dom": "^15.4.1", - "semver": "^5.3.0" + "semver": "^5.5.0" }, "scripts": { "start": "react-scripts start", diff --git a/fixtures/dom/src/components/Fixture.js b/fixtures/dom/src/components/Fixture.js index ddf8b97231714..3643a65c36751 100644 --- a/fixtures/dom/src/components/Fixture.js +++ b/fixtures/dom/src/components/Fixture.js @@ -1,4 +1,4 @@ -const PropTypes = window.PropTypes; +import PropTypes from 'prop-types'; const React = window.React; const propTypes = { diff --git a/fixtures/dom/src/components/Header.js b/fixtures/dom/src/components/Header.js index c78eaa6abf40a..7ce25c6c4d720 100644 --- a/fixtures/dom/src/components/Header.js +++ b/fixtures/dom/src/components/Header.js @@ -66,6 +66,7 @@ class Header extends React.Component { +