Fix Biome lint and format errors

Remove unused `cn` import and fix code formatting issues flagged by Biome CI.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
claude[bot] 2026-06-02 15:59:57 +00:00
parent 2a2b2660bd
commit 68c424c163
4 changed files with 6 additions and 13 deletions

View file

@ -7,11 +7,7 @@ import { dmSansClassName } from "@/lib/fonts"
import { type ReactNode, useEffect, useRef, useState } from "react"
import { AnimatePresence, motion } from "motion/react"
import { SendButton, StopButton } from "./actions"
import {
type ModelId,
modelNames,
type ReasoningEffort,
} from "@/lib/models"
import { type ModelId, modelNames, type ReasoningEffort } from "@/lib/models"
export interface QueuedChatMessagePreview {
id: string
@ -157,9 +153,7 @@ export default function ChatInput({
{queuedMessages.map((queued) => {
const model = modelNames[queued.model]
const ReasoningIcon =
queued.reasoningEffort === "thinking"
? BrainIcon
: ZapIcon
queued.reasoningEffort === "thinking" ? BrainIcon : ZapIcon
const reasoningLabel =
queued.reasoningEffort === "thinking"
? "Thinking"

View file

@ -4,7 +4,6 @@ import { memo, useEffect, useRef, useState } from "react"
import { AnimatePresence, motion } from "motion/react"
import { Copy, Check, PencilIcon, PencilOffIcon } from "lucide-react"
import type { UIMessage } from "@ai-sdk/react"
import { cn } from "@lib/utils"
import ChatModelSelector from "../model-selector"
import { ReasoningSelector } from "../reasoning-selector"
import { SendButton } from "../input/actions"

View file

@ -132,8 +132,8 @@ export default function ChatModelSelector({
<div className="min-w-0 flex-1">
<div
className={cn(
"truncate text-sm font-medium",
isSelected ? "text-white" : "text-white",
"truncate text-sm font-medium",
isSelected ? "text-white" : "text-white",
)}
>
{modelData.name}{" "}

View file

@ -122,8 +122,8 @@ export function ReasoningSelector({
<div className="min-w-0 flex-1">
<div
className={cn(
"text-sm font-medium",
isSelected ? "text-white" : "text-white",
"text-sm font-medium",
isSelected ? "text-white" : "text-white",
)}
>
{option.label}