aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-02-07 14:03:37 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-02-07 14:03:37 +0800
commit8b90b1d1b12bdae4f1fa06caec5cd5619dc83437 (patch)
tree8364054c2c8858604c95510067f33d095355de9f /old-ui
parentd84dc5da4249cd6737d892b044534f7f83c91979 (diff)
downloadtangerine-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 '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 a3908f45d..da9f60492 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')