update src/views/Dashboard/layouts/Main/Addresses/index.js and src/views/Dashboard/layouts/Mobile/ProfileAddress/index.js

temp
mahdi 2 years ago
parent 9faa5cdd16
commit b15c83ec9b
  1. 4
      src/views/Dashboard/layouts/Main/Addresses/index.js
  2. 2
      src/views/Dashboard/layouts/Mobile/ProfileAddress/index.js

@ -37,7 +37,9 @@ const ProfileAddress = ({
className={`flex justify-center text-tiny lg:text-sm rounded-md py-3 bg-grayF9 dark:bg-blueC0 dark:bg-opacity-30 cursor:pointer ${
isDark ? "text-white" : "text-gray70"
} items-center w-full`}
onClick={() => navigation("/createAddress")}
onClick={() =>
navigation("/createAddress", { state: { panel: true } })
}
style={{
border: `1px solid ${isDark ? "#DBDBDB22" : "#DBDBDB"}`,
}}

@ -118,7 +118,7 @@ const Location = ({
return (
<div
className={`bg-opacity-5 border border-solid flex flex-row items-center w-full px-3 py-2 rounded-md relative ${
className={`bg-opacity-5 border border-solid flex flex-row items-center w-full px-3 py-2 rounded-md relative ${
active ? "bg-blueC0 border-blueC0" : "bg-gray-300 border-gray-300"
}`}
onClick={() =>

Loading…
Cancel
Save