aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-08-04 12:32:08 +0800
committerkumavis <aaron@kumavis.me>2017-08-04 12:32:08 +0800
commit29dcadc346fec8c2ea66c84c72d6c65bc565162f (patch)
tree5c77b8ff06ff975a8c5471069826079a05ce7ae5 /ui
parent5a9257208c858d11b94659518ef2375384aeac46 (diff)
downloadtangerine-wallet-browser-29dcadc346fec8c2ea66c84c72d6c65bc565162f.tar
tangerine-wallet-browser-29dcadc346fec8c2ea66c84c72d6c65bc565162f.tar.gz
tangerine-wallet-browser-29dcadc346fec8c2ea66c84c72d6c65bc565162f.tar.bz2
tangerine-wallet-browser-29dcadc346fec8c2ea66c84c72d6c65bc565162f.tar.lz
tangerine-wallet-browser-29dcadc346fec8c2ea66c84c72d6c65bc565162f.tar.xz
tangerine-wallet-browser-29dcadc346fec8c2ea66c84c72d6c65bc565162f.tar.zst
tangerine-wallet-browser-29dcadc346fec8c2ea66c84c72d6c65bc565162f.zip
ui - dropdown - use Object.assign syntax to appease coverage parser
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/dropdown.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/app/components/dropdown.js b/ui/app/components/dropdown.js
index b99e0aa9a..8cdfc13e8 100644
--- a/ui/app/components/dropdown.js
+++ b/ui/app/components/dropdown.js
@@ -63,7 +63,7 @@ class DropdownMenuItem extends Component {
onClick()
closeMenu()
},
- style: {
+ style: Object.assign({
listStyle: 'none',
padding: '8px 0px 8px 0px',
fontSize: '18px',
@@ -73,8 +73,7 @@ class DropdownMenuItem extends Component {
display: 'flex',
justifyContent: 'flex-start',
alignItems: 'center',
- ...style,
- },
+ }, style),
},
children
)