From 1322c424233b8183842bd8be2f400769c8c95b38 Mon Sep 17 00:00:00 2001 From: Nick B Date: Tue, 29 Oct 2024 21:31:34 -0700 Subject: [PATCH] Minor formatting, prettification and linting in prep for merge. --- .../apps/base/components/header_bar/menu_desktop.tsx | 12 ++++++++++-- static/js/components/content/topics.tsx | 11 ++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/static/js/apps/base/components/header_bar/menu_desktop.tsx b/static/js/apps/base/components/header_bar/menu_desktop.tsx index 242d0603bb..1003d41b76 100644 --- a/static/js/apps/base/components/header_bar/menu_desktop.tsx +++ b/static/js/apps/base/components/header_bar/menu_desktop.tsx @@ -99,7 +99,7 @@ const MenuDesktop = ({ { + onClick={(): boolean => { triggerGAEvent(GA_EVENT_HEADER_CLICK, { [GA_PARAM_ID]: `desktop main ${menuItem.id}`, [GA_PARAM_URL]: menuItem.url, @@ -131,7 +131,15 @@ const MenuDesktop = ({ openMenu === index ? "open" : "" }`} > - + + +
{ window.location.href = topic.browseUrl; }} > - + + + + + {topic.title}