diff --git a/src/views/Dashboard/layouts/Main/Addresses/index.js b/src/views/Dashboard/layouts/Main/Addresses/index.js index d49487c..d2373e4 100644 --- a/src/views/Dashboard/layouts/Main/Addresses/index.js +++ b/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"}`, }} diff --git a/src/views/Dashboard/layouts/Mobile/ProfileAddress/index.js b/src/views/Dashboard/layouts/Mobile/ProfileAddress/index.js index 0479790..041c90c 100644 --- a/src/views/Dashboard/layouts/Mobile/ProfileAddress/index.js +++ b/src/views/Dashboard/layouts/Mobile/ProfileAddress/index.js @@ -118,7 +118,7 @@ const Location = ({ return (