From 0f5bcb8f549110b6d4e13489a30d2aa5f377f31b Mon Sep 17 00:00:00 2001
From: Muhammadali <mukhammadali.ubaydullayev.05@inbox.ru>
Date: Wed, 30 Aug 2023 15:30:52 +0500
Subject: [PATCH] update verison: 0.9.1

---
 package.json                              | 2 +-
 src/components/DropDown/index.jsx         | 4 ++--
 src/components/DropDown/style.js          | 6 +++---
 src/components/ModalPhoneNumpad/index.jsx | 5 -----
 4 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/package.json b/package.json
index b8b6f8b..9ed6970 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
 	"name": "boxdialer",
-	"version": "0.9.0",
+	"version": "0.9.1",
 	"description": "",
 	"main": "src/boxDialer.js",
 	"scripts": {
diff --git a/src/components/DropDown/index.jsx b/src/components/DropDown/index.jsx
index 8885476..1a6fe7d 100644
--- a/src/components/DropDown/index.jsx
+++ b/src/components/DropDown/index.jsx
@@ -8,7 +8,7 @@ const DropDown = ({ reasons, reason, selectFunc }) => {
 
 	return (
 		<DropDownStyle
-			visible={visible}
+			visibleValue={visible}
 			onClick={() => setVisible(!visible)}
 			className='nocopy'>
 			<DropDownStyle.Text>{reason}</DropDownStyle.Text>
@@ -20,7 +20,7 @@ const DropDown = ({ reasons, reason, selectFunc }) => {
 				))}
 			</DropDownStyle.DropDown>
 			<DropDownStyle.Window
-				visible={visible}
+				visibleValue={visible}
 				onClick={() => setVisible(false)}
 			/>
 		</DropDownStyle>
diff --git a/src/components/DropDown/style.js b/src/components/DropDown/style.js
index d08b544..a772e3b 100644
--- a/src/components/DropDown/style.js
+++ b/src/components/DropDown/style.js
@@ -14,7 +14,7 @@ DropDownStyle.Text = styled.div`
 	font-size: 22px;
 `;
 DropDownStyle.Window = styled.div`
-	display: ${({ visible }) => (visible ? 'block' : 'none')};
+	display: ${({ visibleValue }) => (visibleValue ? 'block' : 'none')};
 	position: fixed;
 	top: 0;
 	left: 0;
@@ -43,8 +43,8 @@ DropDownStyle.DropDown = styled.div`
 			background-color: #e9e9e9;
 		}
 	}
-	${({ visible }) =>
-		visible
+	${({ visibleValue }) =>
+		visibleValue
 			? {
 					opacity: '1',
 					transform: 'scale(1) translate(-50%, 0)',
diff --git a/src/components/ModalPhoneNumpad/index.jsx b/src/components/ModalPhoneNumpad/index.jsx
index ef2a2c2..c826fc2 100644
--- a/src/components/ModalPhoneNumpad/index.jsx
+++ b/src/components/ModalPhoneNumpad/index.jsx
@@ -158,11 +158,6 @@ const ModalPhoneNumpad = ({
 				{!modalState.bool ? (
 					<>
 						<NumberButton style={{ gridColumn: '1/3' }} className='nocopy'>
-							{/* <DropDownTailwind
-								selectFunc={onSetDnd}
-								reasons={reasons}
-								reason={reason}
-							/> */}
 							<DropDown
 								sele ctFunc={onSetDnd}
 								reasons={reasons}
-- 
2.21.0