fix: remove unused imports
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 7s
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 7s
This commit is contained in:
parent
427691290b
commit
f9c99dbd32
@ -1,9 +1,7 @@
|
||||
import { useState, useRef, useEffect, useCallback } from 'react'
|
||||
import { Input, Button, theme, Typography, App } from 'antd'
|
||||
import { Input, Button, Typography, App } from 'antd'
|
||||
import {
|
||||
SendOutlined, PlusOutlined, ToolOutlined,
|
||||
DeleteOutlined, StopOutlined, MessageOutlined,
|
||||
ArrowUpOutlined,
|
||||
PlusOutlined, ToolOutlined, DeleteOutlined, MessageOutlined, ArrowUpOutlined,
|
||||
} from '@ant-design/icons'
|
||||
import { streamChat, resolveApproval, type StreamEvent } from '@/services/ai-chat'
|
||||
import {
|
||||
@ -35,7 +33,6 @@ function ChatPage() {
|
||||
const abortRef = useRef<AbortController | null>(null)
|
||||
const messagesEndRef = useRef<HTMLDivElement>(null)
|
||||
const editInputRef = useRef<any>(null)
|
||||
const { token } = theme.useToken()
|
||||
|
||||
const loadConversations = useCallback(async () => { try { setConversations(await listConversations()) } catch {} }, [])
|
||||
useEffect(() => { loadConversations() }, [loadConversations])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user