Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Commit

Permalink
Fix error where PropTypes could not be found (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdford authored and fieldju committed May 11, 2017
1 parent 80ca057 commit 212b826
Show file tree
Hide file tree
Showing 15 changed files with 33 additions and 17 deletions.
3 changes: 2 additions & 1 deletion app/components/AddButton/AddButton.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { Component, PropTypes } from 'react'
import { Component } from 'react'
import PropTypes from 'prop-types'
import './AddButton.scss'
import '../../assets/images/add-green.svg'

Expand Down
3 changes: 2 additions & 1 deletion app/components/ApiError/ApiError.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { Component, PropTypes } from 'react'
import { Component } from 'react'
import PropTypes from 'prop-types'
import * as cmsUtils from '../../utils/cmsUtils'
import './ApiError.scss'

Expand Down
3 changes: 2 additions & 1 deletion app/components/Buttons/Buttons.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { Component, PropTypes } from 'react'
import { Component } from 'react'
import PropTypes from 'prop-types'
import './Buttons.scss'
import '../../assets/images/remove-red.svg'

Expand Down
3 changes: 2 additions & 1 deletion app/components/ConfirmationBox/ConfirmationBox.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { Component, PropTypes } from 'react'
import { Component } from 'react'
import PropTypes from 'prop-types'

import './ConfirmationBox.scss'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { Component, PropTypes } from 'react'
import { Component } from 'react'
import PropTypes from 'prop-types'
import RoleSelect from '../RoleSelect/RoleSelect'
import Buttons from '../Buttons/Buttons'
import AddButton from '../AddButton/AddButton'
Expand Down
3 changes: 2 additions & 1 deletion app/components/Login/Login.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { Component, PropTypes } from 'react'
import { Component } from 'react'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
import * as messengerActions from '../../actions/messengerActions'
import Messenger from '../Messenger/Messenger'
Expand Down
3 changes: 2 additions & 1 deletion app/components/LoginMfaForm/LoginMfaForm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { Component, PropTypes } from 'react'
import { Component } from 'react'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
import { reduxForm, touch } from 'redux-form'
import { finalizeMfaLogin } from '../../actions/authenticationActions'
Expand Down
3 changes: 2 additions & 1 deletion app/components/LoginUserForm/LoginUserForm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { Component, PropTypes } from 'react'
import { Component } from 'react'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
import { reduxForm } from 'redux-form'
import { loginUser } from '../../actions/authenticationActions'
Expand Down
3 changes: 2 additions & 1 deletion app/components/Modal/Modal.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { Component, PropTypes } from 'react'
import { Component } from 'react'
import PropTypes from 'prop-types'

import './Modal.scss'

Expand Down
3 changes: 2 additions & 1 deletion app/components/SDBDescriptionField/SDBDescriptionField.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { Component, PropTypes } from 'react'
import { Component } from 'react'
import PropTypes from 'prop-types'
import * as cms from '../../constants/cms'

/**
Expand Down
3 changes: 2 additions & 1 deletion app/components/SideBar/views/Category.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { Component, PropTypes } from 'react'
import { Component } from 'react'
import PropTypes from 'prop-types'
import log from 'logger'

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { Component, PropTypes } from 'react'
import { Component } from 'react'
import PropTypes from 'prop-types'
import GroupsSelect from '../GroupSelect/GroupsSelect'
import RoleSelect from '../RoleSelect/RoleSelect'
import Buttons from '../Buttons/Buttons'
Expand Down
3 changes: 2 additions & 1 deletion app/components/VaultBrowser/VaultBrowser.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { Component, PropTypes } from 'react'
import { Component } from 'react'
import PropTypes from 'prop-types'
import './VaultBrowser.scss'
import AddButton from '../AddButton/AddButton'
import VaultSecretForm from '../VaultSecretForm/VaultSecretForm'
Expand Down
3 changes: 2 additions & 1 deletion app/components/VaultSecret/VaultSecret.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { Component, PropTypes } from 'react'
import { Component } from 'react'
import PropTypes from 'prop-types'
import VaultSecretForm from '../VaultSecretForm/VaultSecretForm'
import * as mSDBActions from '../../actions/manageSafetyDepositBoxActions'
import './VaultSecret.scss'
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,25 @@
"dependencies": {
"axios": "0.12.0",
"cookie": "0.3.1",
"create-react-class": "^15.5.3",
"humps": "1.1.0",
"loglevel": "1.4.1",
"prop-types": "15.5.9",
"react": "15.1.0",
"react-addons-create-fragment": "15.1.0",
"react-addons-css-transition-group": "15.1.0",
"react-addons-shallow-compare": "15.1.0",
"react-copy-to-clipboard": "4.1.0",
"react-dom": "15.1.0",
"react-paginate": "4.1.1",
"react-redux": "4.4.5",
"react-router": "2.5.1",
"react-router-redux": "4.0.5",
"react-select": "1.0.0-rc.2 ",
"redux": "3.5.2",
"redux-form": "5.3.0",
"redux-logger": "2.6.1",
"redux-thunk": "2.1.0",
"react-paginate": "4.1.1",
"react-addons-create-fragment": "15.1.0"
"redux-thunk": "2.1.0"
},
"devDependencies": {
"api-mock": "^0.3.2",
Expand Down

0 comments on commit 212b826

Please sign in to comment.