fix: resolve no-shadow lint errors in web app

This commit is contained in:
kumarabhirup 2026-02-17 00:38:09 -08:00
parent b7baae188c
commit 673c122602
No known key found for this signature in database
GPG Key ID: DB7CA2289CAB0167
3 changed files with 3 additions and 3 deletions

View File

@ -476,7 +476,7 @@ type ChatPanelProps = {
};
export const ChatPanel = forwardRef<ChatPanelHandle, ChatPanelProps>(
function ChatPanel(
function ChatPanelInner(
{
fileContext,
compact,

View File

@ -798,7 +798,7 @@ function LoadingSkeleton({ columnCount }: { columnCount: number }) {
<div className="p-4 space-y-2">
{Array.from({ length: 12 }).map((_, i) => (
<div key={i} className="flex gap-3">
{Array.from({ length: Math.min(columnCount, 6) }).map((_, j) => (
{Array.from({ length: Math.min(columnCount, 6) }).map((_col, j) => (
<div
key={j}
className="h-8 rounded-lg animate-pulse flex-1"

View File

@ -846,7 +846,7 @@ function WorkspacePageInner() {
// Derive the active session's title for the header / right sidebar
const activeSessionTitle = useMemo(() => {
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]);