From cc291c8ed132b0ffa099cd89aa0012385f7adae1 Mon Sep 17 00:00:00 2001 From: George-Zhang5246 <70183314+George-Zhang5246@users.noreply.github.com> Date: Thu, 9 Nov 2023 10:58:55 -0600 Subject: [PATCH] Update topMenu.tsx --- components/navigation/topMenu/topMenu.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/navigation/topMenu/topMenu.tsx b/components/navigation/topMenu/topMenu.tsx index 5b4fa407..b1196a87 100644 --- a/components/navigation/topMenu/topMenu.tsx +++ b/components/navigation/topMenu/topMenu.tsx @@ -39,6 +39,9 @@ export function TopMenu() { function alertLink(url: string) { alert(url); } + function searchOptionChosen(chosenOption: SearchQuery | null) { + console.log('The option chosen was: ', chosenOption); + } return ( <>