diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-02-07 14:03:37 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-02-07 14:03:37 +0800 |
commit | 8b90b1d1b12bdae4f1fa06caec5cd5619dc83437 (patch) | |
tree | 8364054c2c8858604c95510067f33d095355de9f /ui/app/components/dropdowns | |
parent | d84dc5da4249cd6737d892b044534f7f83c91979 (diff) | |
download | tangerine-wallet-browser-8b90b1d1b12bdae4f1fa06caec5cd5619dc83437.tar tangerine-wallet-browser-8b90b1d1b12bdae4f1fa06caec5cd5619dc83437.tar.gz tangerine-wallet-browser-8b90b1d1b12bdae4f1fa06caec5cd5619dc83437.tar.bz2 tangerine-wallet-browser-8b90b1d1b12bdae4f1fa06caec5cd5619dc83437.tar.lz tangerine-wallet-browser-8b90b1d1b12bdae4f1fa06caec5cd5619dc83437.tar.xz tangerine-wallet-browser-8b90b1d1b12bdae4f1fa06caec5cd5619dc83437.tar.zst tangerine-wallet-browser-8b90b1d1b12bdae4f1fa06caec5cd5619dc83437.zip |
Remove accessing PropTypes from main React package
Diffstat (limited to 'ui/app/components/dropdowns')
-rw-r--r-- | ui/app/components/dropdowns/components/account-dropdowns.js | 2 | ||||
-rw-r--r-- | ui/app/components/dropdowns/components/dropdown.js | 2 | ||||
-rw-r--r-- | ui/app/components/dropdowns/simple-dropdown.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/dropdowns/components/account-dropdowns.js b/ui/app/components/dropdowns/components/account-dropdowns.js index f97ac0691..d3a549884 100644 --- a/ui/app/components/dropdowns/components/account-dropdowns.js +++ b/ui/app/components/dropdowns/components/account-dropdowns.js @@ -1,5 +1,5 @@ const Component = require('react').Component -const PropTypes = require('react').PropTypes +const PropTypes = require('prop-types') const h = require('react-hyperscript') const actions = require('../../../actions') const genAccountLink = require('../../../../lib/account-link.js') diff --git a/ui/app/components/dropdowns/components/dropdown.js b/ui/app/components/dropdowns/components/dropdown.js index 15d064be8..0336dbb8b 100644 --- a/ui/app/components/dropdowns/components/dropdown.js +++ b/ui/app/components/dropdowns/components/dropdown.js @@ -1,5 +1,5 @@ const Component = require('react').Component -const PropTypes = require('react').PropTypes +const PropTypes = require('prop-types') const h = require('react-hyperscript') const MenuDroppo = require('../../menu-droppo') const extend = require('xtend') diff --git a/ui/app/components/dropdowns/simple-dropdown.js b/ui/app/components/dropdowns/simple-dropdown.js index 7bb48e57b..bba088ed1 100644 --- a/ui/app/components/dropdowns/simple-dropdown.js +++ b/ui/app/components/dropdowns/simple-dropdown.js @@ -1,5 +1,5 @@ const { Component } = require('react') -const PropTypes = require('react').PropTypes +const PropTypes = require('prop-types') const h = require('react-hyperscript') const classnames = require('classnames') const R = require('ramda') |