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