Skip to content

Commit

Permalink
Merge pull request #40 from BrandonBoone/master
Browse files Browse the repository at this point in the history
Fix for PropTypes warning in React 15.5
  • Loading branch information
maxmantz authored May 8, 2017
2 parents 91cffd2 + 41220b8 commit b96934e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"peerDependencies": {
"co": ">=4.6.0",
"react": ">=0.14.0",
"oidc-client": ">=1.2.0"
"oidc-client": ">=1.2.0",
"prop-types": ">=15.5.0"
},
"optionalDependencies": {
"immutable": ">=3.6.0"
Expand Down
3 changes: 2 additions & 1 deletion src/CallbackComponent.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { PropTypes } from 'react';
import PropTypes from 'prop-types';
import React from 'react';
import { redirectSuccess } from './actions';

class CallbackComponent extends React.Component {
Expand Down
3 changes: 2 additions & 1 deletion src/OidcProvider.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { PropTypes } from 'react';
import PropTypes from 'prop-types';
import React from 'react';
import { userExpired, userFound, silentRenewError, sessionTerminated, userExpiring, userSignedOut } from './actions';

class OidcProvider extends React.Component {
Expand Down

0 comments on commit b96934e

Please sign in to comment.