From 59ba358782422316c668b7abc6d9ba21bb906f0d Mon Sep 17 00:00:00 2001 From: vickytechkey Date: Thu, 20 Aug 2026 19:36:14 +0530 Subject: [PATCH] fix: resolve typescript type narrowing compiler errors in dynamic header actions --- src/App.tsx | 34 ++++++++++++++-------------------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index cbb7fdb..dfcee45 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -805,6 +805,7 @@ export default function App() { return ( <> {/* Dynamic Header */} + {currentPage !== 'dashboard' && ( + )} {/* Main Content Area */} {currentPage !== 'dashboard' ? (