panel state error fixed | 20

temp
mahdi 2 years ago
parent 10fd2d4340
commit e2ffd6ff22
  1. 4
      src/views/Address/index.js
  2. 4
      src/views/DeliveryForm/Address/index.js

@ -291,7 +291,7 @@ export const Address = ({
return ( return (
<div <div
className={`flex flex-col lg:flex-row-reverse px-4 flex-1 lg:pt-0 pb-20 gap-5 lg:divide-x lg:divide-solid lg:divide-gray-200 ${ className={`flex flex-col lg:flex-row-reverse px-4 flex-1 lg:pt-0 pb-20 gap-5 lg:divide-x lg:divide-solid lg:divide-gray-200 ${
location.state.panel ? "mt-2" : "pt-0" location?.state?.panel ? "mt-2" : "pt-0"
}`} }`}
// style={{ minHeight: "calc(100vh - 500px)" }} // style={{ minHeight: "calc(100vh - 500px)" }}
> >
@ -556,7 +556,7 @@ export const Address = ({
direction="ltr" direction="ltr"
maxLength={10} maxLength={10}
/> />
<div <div
className={`flex ${ className={`flex ${
profilePage ? "mt-10" : "lg:hidden" profilePage ? "mt-10" : "lg:hidden"

@ -179,6 +179,4 @@ const mapDispatchToProps = {
export default connect(mapStateToProps, mapDispatchToProps)(Address); export default connect(mapStateToProps, mapDispatchToProps)(Address);
Address.defaultProps = { Address.defaultProps = {};
edit: "src/assets/icons/eidt.svg",
};

Loading…
Cancel
Save