From 42d88fd7b4af99afb53c4b8eeef2c427c9ea6770 Mon Sep 17 00:00:00 2001 From: "C. Cassel" Date: Wed, 18 Mar 2026 10:14:03 -0400 Subject: [PATCH] fix(web): prevent click event from being stored as document title The sidebar "+ Document" button was passing the click event to onNewDocument, which stored a SyntheticEvent object as the title, causing React error #31 when rendering. Co-Authored-By: Claude Opus 4.6 (1M context) --- calcpad-web/src/components/Sidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calcpad-web/src/components/Sidebar.tsx b/calcpad-web/src/components/Sidebar.tsx index 58da600..ec05c71 100644 --- a/calcpad-web/src/components/Sidebar.tsx +++ b/calcpad-web/src/components/Sidebar.tsx @@ -432,7 +432,7 @@ export function Sidebar({ {/* Footer */}
- +