Skip to content

Commit

Permalink
Formatting page.
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-next committed Oct 31, 2024
1 parent 684dd0f commit 166e977
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions static/js/apps/base/components/header_bar/menu_desktop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const MenuDesktop = ({
<a
className="menu-main-link"
href={resolveHref(menuItem.url, routes)}
onClick={() => {
onClick={(): boolean => {
triggerGAEvent(GA_EVENT_HEADER_CLICK, {
[GA_PARAM_ID]: `desktop main ${menuItem.id}`,
[GA_PARAM_URL]: menuItem.url,
Expand Down Expand Up @@ -138,8 +138,16 @@ const MenuDesktop = ({
openMenu === index ? "open" : ""
}`}
>
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#5f6368"><path d="M480-344 240-584l56-56 184 184 184-184 56 56-240 240Z"/></svg>
</span>
<svg
xmlns="http://www.w3.org/2000/svg"
height="24px"
viewBox="0 -960 960 960"
width="24px"
fill="#5f6368"
>
<path d="M480-344 240-584l56-56 184 184 184-184 56 56-240 240Z" />
</svg>
</span>
</button>
<div
ref={(el: HTMLDivElement | null): void => {
Expand Down

0 comments on commit 166e977

Please sign in to comment.