update List.js, src/views/Dashboard/layouts/Mobile/ProfileAddress/index.js and src/views/Dashboard/layouts/SidebarMenu/index.js

temp
mahdi 2 years ago
parent de42d33ba2
commit d09c06c247
  1. 3
      src/views/Dashboard/layouts/Mobile/ProfileAddress/index.js
  2. 2
      src/views/Dashboard/layouts/SidebarMenu/index.js

@ -122,7 +122,7 @@ const Location = ({
return ( return (
<div <div
className={`bg-opacity-5 border border-solid flex flex-row items-center w-full px-3 py-2 rounded-md mt-2 relative ${ className={`bg-opacity-5 border border-solid flex flex-row items-center w-full px-3 py-2 rounded-md relative ${
active ? "bg-blueC0 border-blueC0" : "bg-gray-300 border-gray-300" active ? "bg-blueC0 border-blueC0" : "bg-gray-300 border-gray-300"
}`} }`}
onClick={() => onClick={() =>
@ -150,7 +150,6 @@ const Location = ({
حذف حذف
</button> </button>
</div> </div>
<div className={"flex flex-col flex-1 mr-2"}> <div className={"flex flex-col flex-1 mr-2"}>
{active && ( {active && (
<div className={"w-full flex flex-row justify-between mb-3"}> <div className={"w-full flex flex-row justify-between mb-3"}>

@ -140,6 +140,7 @@ const SidebarMenu = ({
navigate("/"); navigate("/");
} }
}, [isLogin]); }, [isLogin]);
return ( return (
<div <div
className="bg-gray-50 py-5 border-l-2 pl-4 pr-2 shadow-sm border-gray-300 border-solid overflow-y-scroll no-scrollbar divide-y divide-solid divide-gray-200" className="bg-gray-50 py-5 border-l-2 pl-4 pr-2 shadow-sm border-gray-300 border-solid overflow-y-scroll no-scrollbar divide-y divide-solid divide-gray-200"
@ -217,6 +218,7 @@ SidebarMenu.defaultProps = {
notification: null, notification: null,
list: [{ title: "ویرایش حساب کاربری", value: "profile" }], list: [{ title: "ویرایش حساب کاربری", value: "profile" }],
}, },
support: { support: {
name: "support", name: "support",
icon: sms, icon: sms,

Loading…
Cancel
Save