fix: chat on start bug (#1588)

This commit is contained in:
Joel
2023-11-21 17:26:49 +08:00
committed by GitHub
parent d8a7e894aa
commit b23de4affc
2 changed files with 2 additions and 1 deletions

View File

@@ -688,6 +688,7 @@ const Main: FC<IMainProps> = () => {
onUnpin={handleUnpin}
controlUpdateList={controlUpdateConversationList}
onDelete={handleDelete}
onStartChat={() => handleConversationIdChange('-1')}
/>
)
}

View File

@@ -668,7 +668,7 @@ const Main: FC<IMainProps> = ({
onUnpin={handleUnpin}
controlUpdateList={controlUpdateConversationList}
onDelete={handleDelete}
onStartChat={handleStartChat}
onStartChat={() => handleConversationIdChange('-1')}
/>
)
}