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> </div>
<FloatingButton {/* <FloatingButton
action={() => navigation("/createAddress", { state: { panel: true } })} action={() => navigation("/createAddress", { state: { panel: true } })}
// action={() => {}} // action={() => {}}
position={{ right: isMobile ? "" : 350, bottom: 50 }} position={{ right: isMobile ? "" : 350, bottom: 50 }}
/> /> */}
</div> </div>
); );
}; };

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

Loading…
Cancel
Save