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

@ -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"}`,
}}

Loading…
Cancel
Save