|
|
@ -22,7 +22,7 @@ function Address({ |
|
|
|
const Location = ({ address, active }) => { |
|
|
|
const Location = ({ address, active }) => { |
|
|
|
return isMobile ? ( |
|
|
|
return isMobile ? ( |
|
|
|
<button |
|
|
|
<button |
|
|
|
className={`flex flex-col border-2 border-solid items-center w-full px-3 py-2 rounded-md mt-2 transition-all duration-500 dark:bg-opacity-5 ${ |
|
|
|
className={`flex flex-col border-2 border-solid items-center w-full px-3 py-2 rounded-md mt-2 transition-all duration-500 dark:bg-opacity-5 ${ |
|
|
|
userAddressId === address?.id |
|
|
|
userAddressId === address?.id |
|
|
|
? "bg-blueC0 bg-opacity-5 border-blueC0" |
|
|
|
? "bg-blueC0 bg-opacity-5 border-blueC0" |
|
|
|
: "bg-grayF9 border-gray-200 dark:border-gray-500" |
|
|
|
: "bg-grayF9 border-gray-200 dark:border-gray-500" |
|
|
|