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

temp
mahdi 2 years ago
parent 476e77f07d
commit 350f193710
  1. 4
      src/views/Dashboard/layouts/Main/Addresses/index.js
  2. 8
      src/views/Dashboard/layouts/Mobile/ProfileAddress/index.js

@ -43,11 +43,11 @@ const ProfileAddress = ({
/>
))}
</div>
<FloatingButton
{/* <FloatingButton
action={() => navigation("/createAddress", { state: { panel: true } })}
// action={() => {}}
position={{ right: isMobile ? "" : 350, bottom: 50 }}
/>
/> */}
</div>
);
};

@ -25,6 +25,7 @@ const ProfileAddress = ({
loading,
closeBottomSheet,
mobile,
isMobile,
isDark,
headerOptions,
setHeaderOptions,
@ -65,10 +66,15 @@ const ProfileAddress = ({
) : (
<Empty text="هیچ آدرسی ثبت نشده :(" />
)}
<FloatingButton
{/* <FloatingButton
action={() => navigation("/createAddress")}
position={{ bottom: 100, right: 16 }}
size={16}
/> */}
<FloatingButton
action={() => navigation("/createAddress", { state: { panel: true } })}
// action={() => {}}
position={{ bottom: 100, left: 16 }}
/>
</div>
);

Loading…
Cancel
Save