Skip to content

Commit 8368950

Browse files
committed
use correct prop-types package
1 parent 0a1a851 commit 8368950

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
"author": "J Scott Smith",
2929
"license": "ISC",
3030
"dependencies": {
31+
"prop-types": "^15.5.10",
3132
"react": "^15.4.2",
32-
"react-dom": "^15.4.2",
33-
"react-proptypes": "^1.0.0"
33+
"react-dom": "^15.4.2"
3434
},
3535
"devDependencies": {
3636
"babel-cli": "^6.24.1",

src/components/Parallax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { Component } from 'react';
2-
import PropTypes from 'react-proptypes';
2+
import PropTypes from 'prop-types';
33
import { offsetMin, offsetMax } from '../utils/propValidation';
44

55
export default class Parallax extends Component {

0 commit comments

Comments
 (0)