Skip to content

Commit

Permalink
Merge pull request #1363 from massenergize/feat-match-new-menu-structure
Browse files Browse the repository at this point in the history
fix: nav logo link will not append https links
  • Loading branch information
frimpongopoku authored Jun 24, 2024
2 parents 7307ff6 + c0aeb77 commit a8b0eb0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/Menu/NavBarBurger.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,14 @@ class NavBarBurger extends React.Component {
className="col-lg-4 col-md-8 col-sm-6 col-6 d-flex"
style={{ display: "flex", alignItems: "center" }}
>
<Link to={communityLogoLink ? communityLogoLink : links.home}>
<Link
onClick={(e) => {
e.preventDefault();
if (communityLogoLink) window.location = communityLogoLink;
else this.props.history.push(links.home);
}}
// to={communityLogoLink ? communityLogoLink : links.home}
>
<div
style={{
display: "flex",
Expand Down

0 comments on commit a8b0eb0

Please sign in to comment.