Made Eslint happy

This commit is contained in:
sageTheDM 2024-10-09 13:55:52 +02:00
parent b951fa4d4f
commit 5f77c96b79
2 changed files with 5 additions and 1 deletions

View file

@ -22,7 +22,7 @@ const ConversationFrontend = React.forwardRef<HTMLDivElement, ConversationProps>
({ messages, onStopClick, onResendClick, onEditClick, onCopyClick, isClicked }, ref: ForwardedRef<HTMLDivElement>) => {
const [isScrolling, setIsScrolling] = useState(true);
const messagesEndRef = useRef<HTMLDivElement | null>(null);
const [chatHistory, setChatHistory, setSelectedIndex] = useChatHistory()
const [chatHistory] = useChatHistory()
useEffect(() => {
const observer = new IntersectionObserver(