Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored May 24, 2024
1 parent 976d8d1 commit bb9ef7d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ee/tabby-ui/app/chat/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { useSearchParams } from 'next/navigation'

import { nanoid } from '@/lib/utils'
import { Chat, ChatRef } from '@/components/chat/chat'
import { QuestionAnswerPair } from '@/lib/types/chat'
import Color from 'color'

import './page.css'
Expand All @@ -34,7 +33,7 @@ export default function ChatPage() {
)
const [activeChatId, setActiveChatId] = useState('')
let pendingMessages: ChatMessage[] = [] // FIXME(wwayne): use init message props after Chat component update

const chatRef = useRef<ChatRef>(null)
const searchParams = useSearchParams()
const maxWidth = searchParams.get('max-width') || undefined
Expand Down

0 comments on commit bb9ef7d

Please sign in to comment.