mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-07 00:04:54 +08:00
fix: #641 delete wrong chat list
This commit is contained in:
@@ -96,7 +96,7 @@ export function ChatList() {
|
||||
index={i}
|
||||
selected={i === selectedIndex}
|
||||
onClick={() => selectSession(i)}
|
||||
onDelete={chatStore.deleteSession}
|
||||
onDelete={() => chatStore.deleteSession(i)}
|
||||
/>
|
||||
))}
|
||||
{provided.placeholder}
|
||||
|
Reference in New Issue
Block a user