From 7265295454801c1d921385a4b67fb3780b46771e Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 22 Feb 2023 14:00:00 +0700
Subject: fix

---
 src/lib/address/components/Addresses.jsx | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

(limited to 'src/lib/address/components/Addresses.jsx')

diff --git a/src/lib/address/components/Addresses.jsx b/src/lib/address/components/Addresses.jsx
index c4855f8f..3ac06b6c 100644
--- a/src/lib/address/components/Addresses.jsx
+++ b/src/lib/address/components/Addresses.jsx
@@ -40,7 +40,7 @@ const Addresses = () => {
               className={
                 'p-4 rounded-md border ' +
                 (selectedAdress && selectedAdress == address.id
-                  ? 'border-gray_r-7 bg-gray_r-2'
+                  ? 'border-gray_r-7 bg-gray_r-4'
                   : 'border-gray_r-7')
               }
             >
@@ -51,15 +51,7 @@ const Addresses = () => {
                 </div>
                 <p className='font-medium mt-2'>{address.name}</p>
                 {address.mobile && <p className='mt-2 text-gray_r-11'>{address.mobile}</p>}
-                <p
-                  className={`mt-1 leading-6 ${
-                    selectedAdress && selectedAdress == address.id
-                      ? 'text-gray_r-12'
-                      : 'text-gray_r-11'
-                  }`}
-                >
-                  {address.street}
-                </p>
+                <p className='mt-1 leading-6 text-gray_r-11'>{address.street}</p>
               </div>
               <Link
                 href={`/my/address/${address.id}/edit`}
-- 
cgit v1.2.3

