diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-07-25 02:40:05 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-08-24 07:44:43 +0800 |
commit | 3b408715c745030aed6e720e6f19dc8f2aa511d1 (patch) | |
tree | 9dd80e685a533f673e7d3af7b70385240c011153 /ui/app/components/wallet-view.js | |
parent | dae07b32e50de8a3aa4c89d266c9272155beaaa4 (diff) | |
download | tangerine-wallet-browser-3b408715c745030aed6e720e6f19dc8f2aa511d1.tar tangerine-wallet-browser-3b408715c745030aed6e720e6f19dc8f2aa511d1.tar.gz tangerine-wallet-browser-3b408715c745030aed6e720e6f19dc8f2aa511d1.tar.bz2 tangerine-wallet-browser-3b408715c745030aed6e720e6f19dc8f2aa511d1.tar.lz tangerine-wallet-browser-3b408715c745030aed6e720e6f19dc8f2aa511d1.tar.xz tangerine-wallet-browser-3b408715c745030aed6e720e6f19dc8f2aa511d1.tar.zst tangerine-wallet-browser-3b408715c745030aed6e720e6f19dc8f2aa511d1.zip |
Refactor home screen and remove unused files
Diffstat (limited to 'ui/app/components/wallet-view.js')
-rw-r--r-- | ui/app/components/wallet-view.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/app/components/wallet-view.js b/ui/app/components/wallet-view.js index 8e092364c..ffa60e3ed 100644 --- a/ui/app/components/wallet-view.js +++ b/ui/app/components/wallet-view.js @@ -26,6 +26,10 @@ WalletView.contextTypes = { t: PropTypes.func, } +WalletView.defaultProps = { + responsiveDisplayClassname: '', +} + function mapStateToProps (state) { return { @@ -131,8 +135,9 @@ WalletView.prototype.render = function () { } } - return h('div.wallet-view.flex-column' + (responsiveDisplayClassname || ''), { + return h('div.wallet-view.flex-column', { style: {}, + className: responsiveDisplayClassname, }, [ // TODO: Separate component: wallet account details |