diff --git a/package.json b/package.json index b4f341446fdfeb42b9475654c4244f0942fc0a53..8ac73bbca7d3b947eb861dae06c80c89295490cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "boxdialer", - "version": "0.9.8", + "version": "0.9.9", "description": "", "main": "src/boxDialer.js", "scripts": { diff --git a/src/components/DropDown/index.jsx b/src/components/DropDown/index.jsx index af23204c102bd262e9cb6151fbc3a6a27a905aa8..52f247cece2bbabfd6d098f97b2a8c8c101e1b5b 100644 --- a/src/components/DropDown/index.jsx +++ b/src/components/DropDown/index.jsx @@ -8,7 +8,7 @@ const DropDown = ({ reasons, reason, selectFunc }) => { return ( <DropDownStyle - onClick={() => setVisible(visible == 0 ? 0 : 1)} + onClick={() => setVisible(visible ? 0 : 1)} className='nocopy'> <DropDownStyle.Text>{reason}</DropDownStyle.Text> <DropDownStyle.DropDown visiblevalue={visible} className={'nocopy'}> diff --git a/src/components/DropDown/style.js b/src/components/DropDown/style.js index 7c2ff2b7255dce06a4a0bc7d4207135b971c12c8..0bee8763a434e6973a5cb8b7d44d4e59950dc699 100644 --- a/src/components/DropDown/style.js +++ b/src/components/DropDown/style.js @@ -43,6 +43,7 @@ DropDownStyle.DropDown = styled.div` background-color: #e9e9e9; } } + ${({ visiblevalue }) => console.log(visiblevalue, 'visiblevalue')} ${({ visiblevalue }) => visiblevalue == 1 ? {