chore: linting

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2025-12-23 18:50:24 -08:00
parent 40e982d541
commit ee546a7e03
2 changed files with 5 additions and 6 deletions

View file

@ -227,11 +227,7 @@ export const Thread: FC<ThreadProps> = ({ messageThinkingSteps = new Map(), head
className="aui-thread-viewport relative flex flex-1 min-h-0 flex-col overflow-x-auto overflow-y-scroll scroll-smooth px-4 pt-4"
>
{/* Optional sticky header for model selector etc. */}
{header && (
<div className="sticky top-0 z-10 mb-4">
{header}
</div>
)}
{header && <div className="sticky top-0 z-10 mb-4">{header}</div>}
<AssistantIf condition={({ thread }) => thread.isEmpty}>
<ThreadWelcome />

View file

@ -211,7 +211,10 @@ export function ModelSelector({ onEdit, onAddNew, className }: ModelSelectorProp
align="start"
sideOffset={8}
>
<Command shouldFilter={false} className="rounded-xl relative [&_[data-slot=command-input-wrapper]]:border-0 [&_[data-slot=command-input-wrapper]]:px-0 [&_[data-slot=command-input-wrapper]]:gap-2">
<Command
shouldFilter={false}
className="rounded-xl relative [&_[data-slot=command-input-wrapper]]:border-0 [&_[data-slot=command-input-wrapper]]:px-0 [&_[data-slot=command-input-wrapper]]:gap-2"
>
{/* Switching overlay */}
{isSwitching && (
<div className="absolute inset-0 z-10 flex items-center justify-center bg-background/80 backdrop-blur-sm rounded-xl">