build fix for sure for sure

This commit is contained in:
YasinOnm08 2024-10-09 14:22:31 +02:00
parent 5b7fd05a02
commit b9137c2a10
3 changed files with 4 additions and 9 deletions

View file

@ -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>) => {