route path changed for change password
This commit is contained in:
parent
3c942de90d
commit
c75cc5dffd
@ -48,7 +48,7 @@ const HeaderBar = () => {
|
|||||||
|
|
||||||
const onChangePassword = () => {
|
const onChangePassword = () => {
|
||||||
setUserOpen(false);
|
setUserOpen(false);
|
||||||
navigate('/change-password');
|
navigate('/reset-password');
|
||||||
};
|
};
|
||||||
|
|
||||||
const initials = React.useMemo(() => {
|
const initials = React.useMemo(() => {
|
||||||
@ -63,7 +63,6 @@ const HeaderBar = () => {
|
|||||||
<div className="max-w-[1280px] mx-auto px-4">
|
<div className="max-w-[1280px] mx-auto px-4">
|
||||||
<div className="flex items-center justify-between h-16">
|
<div className="flex items-center justify-between h-16">
|
||||||
<img src={Logo} alt="FCSC" className="w-[131px] h-[40px] opacity-100 rotate-0" />
|
<img src={Logo} alt="FCSC" className="w-[131px] h-[40px] opacity-100 rotate-0" />
|
||||||
{/* Desktop nav */}
|
|
||||||
<nav className="hidden md:flex items-center gap-8 text-[14px] leading-5">
|
<nav className="hidden md:flex items-center gap-8 text-[14px] leading-5">
|
||||||
<NavLink
|
<NavLink
|
||||||
to="/dashboard"
|
to="/dashboard"
|
||||||
@ -132,7 +131,6 @@ const HeaderBar = () => {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
{/* Mobile toggle */}
|
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
aria-label="Open Menu"
|
aria-label="Open Menu"
|
||||||
@ -144,7 +142,6 @@ const HeaderBar = () => {
|
|||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
{/* Mobile nav panel */}
|
|
||||||
{open && (
|
{open && (
|
||||||
<div className="md:hidden pb-3">
|
<div className="md:hidden pb-3">
|
||||||
<nav className="flex flex-col gap-2 text-[14px] leading-5">
|
<nav className="flex flex-col gap-2 text-[14px] leading-5">
|
||||||
@ -164,7 +161,7 @@ const HeaderBar = () => {
|
|||||||
type="button"
|
type="button"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setOpen(false);
|
setOpen(false);
|
||||||
navigate('/change-password');
|
navigate('/reset-password');
|
||||||
}}
|
}}
|
||||||
className="inline-flex items-center gap-2 px-2 py-2 rounded text-[#232528] hover:bg-gray-100 text-left"
|
className="inline-flex items-center gap-2 px-2 py-2 rounded text-[#232528] hover:bg-gray-100 text-left"
|
||||||
>
|
>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user