select chat index after fetch

This commit is contained in:
2023-03-29 15:37:36 +08:00
parent c31c6cd84a
commit 5fc2c62b4f
2 changed files with 11 additions and 3 deletions

View File

@@ -205,7 +205,12 @@ export function App() {
DEL
</button>
</div>
<ChatBOX chatStore={chatStore} setChatStore={setChatStore} />
<ChatBOX
chatStore={chatStore}
setChatStore={setChatStore}
selectedChatIndex={selectedChatIndex}
setSelectedChatIndex={setSelectedChatIndex}
/>
</div>
);
}