Skip to content

Commit

Permalink
Merge pull request #1065 from akvo/bug/1064-unable-to-click-the-navig…
Browse files Browse the repository at this point in the history
…ation-beside-the-dashboard-menu

[#1064] unable to click the navigation beside the Dashboard menu fixed
  • Loading branch information
dedenbangkit authored Jan 24, 2024
2 parents 8bed7cf + 44a48f7 commit 963e592
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions frontend/src/components/layout/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,32 +73,36 @@ const Header = ({ className = "header", ...props }) => {
{
key: "controlCenter",
label: (
<div key="controlCenter" className="usermenu-menu-item">
<Link to="/control-center">{text?.controlCenter}</Link>
</div>
<Link
key="controlCenter"
className="usermenu-menu-item"
to="/control-center"
>
{text?.controlCenter}
</Link>
),
},
{
key: "profile",
label: (
<div key="profile" className="usermenu-menu-item">
<Link to="/profile">{text?.myProfile}</Link>
</div>
<Link key="profile" className="usermenu-menu-item" to="/profile">
{text?.myProfile}
</Link>
),
},
{
key: "signOut",
danger: true,
label: (
<div
<a
key="signOut"
className="usermenu-menu-item"
onClick={() => {
signOut();
}}
>
<a>{text?.signOut}</a>
</div>
{text?.signOut}
</a>
),
},
];
Expand Down

0 comments on commit 963e592

Please sign in to comment.