From 16d9eb4f864fe8c29a9dee57ec47f77b34ae0df4 Mon Sep 17 00:00:00 2001
From: Tyler Hoang <tyler@tylerhoang.xyz>
Date: Mon, 18 May 2026 22:18:20 -0700
Subject: feat: wire Ratios subtab into FinancialsPage, move tab strip up from
 FinancialsCard

---
 frontend/components/prism/FinancialsCard.tsx | 20 --------------------
 1 file changed, 20 deletions(-)

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

diff --git a/frontend/components/prism/FinancialsCard.tsx b/frontend/components/prism/FinancialsCard.tsx
index 94a6618..43a2dc2 100644
--- a/frontend/components/prism/FinancialsCard.tsx
+++ b/frontend/components/prism/FinancialsCard.tsx
@@ -9,16 +9,9 @@ type Props = {
   data: FinancialsResponse;
   statement: StatementKey;
   period: PeriodKey;
-  onChangeStatement: (s: StatementKey) => void;
   onChangePeriod: (p: PeriodKey) => void;
 };
 
-const STMT_LABELS: Record<StatementKey, string> = {
-  income: "INCOME",
-  balance: "BALANCE",
-  cash_flow: "CASH FLOW",
-};
-
 function fmtFinVal(val: number | null | undefined, isMargin: boolean): string {
   if (val === null || val === undefined) return "—";
   if (isMargin) return `${(val * 100).toFixed(1)}%`;
@@ -70,7 +63,6 @@ export function FinancialsCard({
   data,
   statement,
   period,
-  onChangeStatement,
   onChangePeriod,
 }: Props) {
   const stmt = data[statement];
@@ -79,18 +71,6 @@ export function FinancialsCard({
   return (
     <section className="psm-card psm-financials-card">
       <div className="psm-fin-header">
-        <div className="psm-fin-tabs">
-          {(["income", "balance", "cash_flow"] as StatementKey[]).map((key) => (
-            <button
-              key={key}
-              type="button"
-              className={`psm-fin-tab${statement === key ? " active" : ""}`}
-              onClick={() => onChangeStatement(key)}
-            >
-              {STMT_LABELS[key]}
-            </button>
-          ))}
-        </div>
         <div className="psm-fin-period">
           {(["annual", "quarterly"] as PeriodKey[]).map((p) => (
             <button
-- 
cgit v1.3-2-g0d8e

