forked from React-Group/interstellar_ai
build fix for sure for sure
This commit is contained in:
parent
5b7fd05a02
commit
b9137c2a10
3 changed files with 4 additions and 9 deletions
|
@ -2,18 +2,13 @@ import React, { useState } from 'react';
|
|||
import { useChatHistory } from '../hooks/useChatHistory';
|
||||
|
||||
const History: React.FC = () => {
|
||||
const [chatHistory, setChatHistory, setSelectedIndex] = useChatHistory()
|
||||
const [chatHistory, setSelectedIndex] = useChatHistory()
|
||||
const [isEditing, setIsEditing] = useState(false);
|
||||
const [inputValue, setInputValue] = useState<string>('');
|
||||
|
||||
setChatHistory(chatHistory)
|
||||
|
||||
const handleEditButtonClick = () => {
|
||||
setIsEditing(true);
|
||||
|
||||
/* Thank you Eslint for this masterpiece of a code snippet */
|
||||
setChatHistory(chatHistory)
|
||||
/* Wow i feel so secure now */
|
||||
};
|
||||
|
||||
const handleInputChange = (e: React.ChangeEvent<HTMLInputElement>) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue