chat actions should be fixed
This commit is contained in:
parent
2790604f6b
commit
28ebe02bd6
2 changed files with 9 additions and 9 deletions
|
@ -46,7 +46,7 @@ const History: React.FC = () => {
|
|||
copyChats.chats = [...chatHistory.chats]
|
||||
|
||||
// Remove the chat at the specified index
|
||||
copyChats.chats.splice(index,1)
|
||||
copyChats.chats.splice(index,1)
|
||||
|
||||
// Determine new selectedIndex
|
||||
let newSelectedIndex = currentIndex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue