aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-02-17 00:11:36 +0800
committerGitHub <noreply@github.com>2018-02-17 00:11:36 +0800
commit4e8d9fef8497ff4d34517e4dafd4f5579531f798 (patch)
treeccb533203d4bdd2278ebefcffa42809238d42f88 /old-ui
parent79f62635d787126f99a31508be8a927d23db639d (diff)
parent8b90b1d1b12bdae4f1fa06caec5cd5619dc83437 (diff)
downloadtangerine-wallet-browser-4e8d9fef8497ff4d34517e4dafd4f5579531f798.tar
tangerine-wallet-browser-4e8d9fef8497ff4d34517e4dafd4f5579531f798.tar.gz
tangerine-wallet-browser-4e8d9fef8497ff4d34517e4dafd4f5579531f798.tar.bz2
tangerine-wallet-browser-4e8d9fef8497ff4d34517e4dafd4f5579531f798.tar.lz
tangerine-wallet-browser-4e8d9fef8497ff4d34517e4dafd4f5579531f798.tar.xz
tangerine-wallet-browser-4e8d9fef8497ff4d34517e4dafd4f5579531f798.tar.zst
tangerine-wallet-browser-4e8d9fef8497ff4d34517e4dafd4f5579531f798.zip
Merge pull request #3200 from alextsg/cb-703
[NewUI] Remove accessing PropTypes from main React package
Diffstat (limited to 'old-ui')
-rw-r--r--old-ui/app/components/account-dropdowns.js2
-rw-r--r--old-ui/app/components/dropdown.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/old-ui/app/components/account-dropdowns.js b/old-ui/app/components/account-dropdowns.js
index 7cc581f84..aa7a3ad67 100644
--- a/old-ui/app/components/account-dropdowns.js
+++ b/old-ui/app/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('../../../ui/app/actions')
const genAccountLink = require('etherscan-link').createAccountLink
diff --git a/old-ui/app/components/dropdown.js b/old-ui/app/components/dropdown.js
index cdd864cc3..fb606d2c5 100644
--- a/old-ui/app/components/dropdown.js
+++ b/old-ui/app/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')