fix: resolve no-shadow lint errors in web app
This commit is contained in:
parent
b7baae188c
commit
673c122602
@ -476,7 +476,7 @@ type ChatPanelProps = {
|
||||
};
|
||||
|
||||
export const ChatPanel = forwardRef<ChatPanelHandle, ChatPanelProps>(
|
||||
function ChatPanel(
|
||||
function ChatPanelInner(
|
||||
{
|
||||
fileContext,
|
||||
compact,
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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]);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user