From a3a645008c5bbc5124fb6f2951fda31f88d897fe Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 7 Feb 2026 17:29:06 +0000 Subject: [PATCH] fix: Law10Tab runtime error - add missing translation function parameter Fixed critical bug causing Law10Tab to crash with "TypeError: a is not a function". The getStatusLabel() function was being called without the required 't' parameter on line 1244, causing a runtime error when rendering the compliance summary table. Error: Uncaught TypeError: a is not a function at tr (index-yIapr3VZ.js:544:35927) Fix: Changed getStatusLabel(req.result.status) to getStatusLabel(req.result.status, t) Law10Tab now loads correctly without errors. https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg --- frontend/components/tabs/Law10Tab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/tabs/Law10Tab.tsx b/frontend/components/tabs/Law10Tab.tsx index 4504fa0..e72d6c5 100644 --- a/frontend/components/tabs/Law10Tab.tsx +++ b/frontend/components/tabs/Law10Tab.tsx @@ -1241,7 +1241,7 @@ function Law10SummaryRoadmap({