From 7cb2492c748556af99f2b155a434b92f19461095 Mon Sep 17 00:00:00 2001
From: Tyler Hoang <tyler@tylerhoang.xyz>
Date: Mon, 18 May 2026 00:33:39 -0700
Subject: feat: wire financials tab routing in Sidebar and page.tsx

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---
 frontend/components/prism/Sidebar.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'frontend/components/prism/Sidebar.tsx')

diff --git a/frontend/components/prism/Sidebar.tsx b/frontend/components/prism/Sidebar.tsx
index 7f106d8..fb8ebcf 100644
--- a/frontend/components/prism/Sidebar.tsx
+++ b/frontend/components/prism/Sidebar.tsx
@@ -12,6 +12,7 @@ type Props = {
   watchlistError: string | null;
   onSelectTicker: (symbol: string) => void;
   onRemoveTicker: (symbol: string) => void;
+  onSelectTab: (key: string) => void;
 };
 
 export function Sidebar({
@@ -21,7 +22,8 @@ export function Sidebar({
   watchlist,
   watchlistError,
   onSelectTicker,
-  onRemoveTicker
+  onRemoveTicker,
+  onSelectTab
 }: Props) {
   return (
     <aside className="psm-side">
@@ -46,6 +48,7 @@ export function Sidebar({
               type="button"
               className={`psm-nav-item${active ? " active" : ""}${item.disabled ? " disabled" : ""}`}
               disabled={item.disabled}
+              onClick={item.disabled ? undefined : () => onSelectTab(item.key)}
             >
               <span className={`psm-icon icon-${item.icon}`} aria-hidden />
               <span className="psm-nav-copy">
-- 
cgit v1.3-2-g0d8e

