aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send_/send-content/send-from-row/from-dropdown/from-dropdown.component.js
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2018-07-14 19:53:48 +0800
committerGitHub <noreply@github.com>2018-07-14 19:53:48 +0800
commit4d105d9cca7bd866f6b971edd4ab28a28a6cf159 (patch)
tree1177fe84f902b51a86797d59ff8ef51bee265c57 /ui/app/components/send_/send-content/send-from-row/from-dropdown/from-dropdown.component.js
parent2f4698c130331db20a27576cb1c521c8ca5106e3 (diff)
parent94d1d846fb57932fd1e959f53dbf6444f0789e91 (diff)
downloadtangerine-wallet-browser-4d105d9cca7bd866f6b971edd4ab28a28a6cf159.tar.gz
tangerine-wallet-browser-4d105d9cca7bd866f6b971edd4ab28a28a6cf159.tar.zst
tangerine-wallet-browser-4d105d9cca7bd866f6b971edd4ab28a28a6cf159.zip
Merge pull request #4702 from BitGuildPlatform/contextTypes
convert contextType to static prop for refactored components
Diffstat (limited to 'ui/app/components/send_/send-content/send-from-row/from-dropdown/from-dropdown.component.js')
-rw-r--r--ui/app/components/send_/send-content/send-from-row/from-dropdown/from-dropdown.component.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/components/send_/send-content/send-from-row/from-dropdown/from-dropdown.component.js b/ui/app/components/send_/send-content/send-from-row/from-dropdown/from-dropdown.component.js
index 418766cd9..4f43a9d61 100644
--- a/ui/app/components/send_/send-content/send-from-row/from-dropdown/from-dropdown.component.js
+++ b/ui/app/components/send_/send-content/send-from-row/from-dropdown/from-dropdown.component.js
@@ -14,6 +14,10 @@ export default class FromDropdown extends Component {
selectedAccount: PropTypes.object,
};
+ static contextTypes = {
+ t: PropTypes.func,
+ };
+
render () {
const {
accounts,
@@ -40,7 +44,3 @@ export default class FromDropdown extends Component {
}
}
-
-FromDropdown.contextTypes = {
- t: PropTypes.func,
-}