From 673c1226021dbe2513cf0dfd95e33b7c20682eeb Mon Sep 17 00:00:00 2001 From: kumarabhirup Date: Tue, 17 Feb 2026 00:38:09 -0800 Subject: [PATCH] fix: resolve no-shadow lint errors in web app --- apps/web/app/components/chat-panel.tsx | 2 +- apps/web/app/components/workspace/data-table.tsx | 2 +- apps/web/app/workspace/page.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/app/components/chat-panel.tsx b/apps/web/app/components/chat-panel.tsx index b12c8910b57..e622be6d7db 100644 --- a/apps/web/app/components/chat-panel.tsx +++ b/apps/web/app/components/chat-panel.tsx @@ -476,7 +476,7 @@ type ChatPanelProps = { }; export const ChatPanel = forwardRef( - function ChatPanel( + function ChatPanelInner( { fileContext, compact, diff --git a/apps/web/app/components/workspace/data-table.tsx b/apps/web/app/components/workspace/data-table.tsx index 808a6bf24db..475c9b5a3a8 100644 --- a/apps/web/app/components/workspace/data-table.tsx +++ b/apps/web/app/components/workspace/data-table.tsx @@ -798,7 +798,7 @@ function LoadingSkeleton({ columnCount }: { columnCount: number }) {
{Array.from({ length: 12 }).map((_, i) => (
- {Array.from({ length: Math.min(columnCount, 6) }).map((_, j) => ( + {Array.from({ length: Math.min(columnCount, 6) }).map((_col, j) => (
{ if (!activeSessionId) {return undefined;} - const s = sessions.find((s) => s.id === activeSessionId); + const s = sessions.find((sess) => sess.id === activeSessionId); return s?.title || undefined; }, [activeSessionId, sessions]);