From 29dcadc346fec8c2ea66c84c72d6c65bc565162f Mon Sep 17 00:00:00 2001 From: kumavis Date: Thu, 3 Aug 2017 21:32:08 -0700 Subject: [PATCH] ui - dropdown - use Object.assign syntax to appease coverage parser --- ui/app/components/dropdown.js | 5 ++--- 1 file 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 )