Unverified Commit b23de4af authored by Joel's avatar Joel Committed by GitHub

fix: chat on start bug (#1588)

parent d8a7e894
...@@ -688,6 +688,7 @@ const Main: FC<IMainProps> = () => { ...@@ -688,6 +688,7 @@ const Main: FC<IMainProps> = () => {
onUnpin={handleUnpin} onUnpin={handleUnpin}
controlUpdateList={controlUpdateConversationList} controlUpdateList={controlUpdateConversationList}
onDelete={handleDelete} onDelete={handleDelete}
onStartChat={() => handleConversationIdChange('-1')}
/> />
) )
} }
......
...@@ -668,7 +668,7 @@ const Main: FC<IMainProps> = ({ ...@@ -668,7 +668,7 @@ const Main: FC<IMainProps> = ({
onUnpin={handleUnpin} onUnpin={handleUnpin}
controlUpdateList={controlUpdateConversationList} controlUpdateList={controlUpdateConversationList}
onDelete={handleDelete} onDelete={handleDelete}
onStartChat={handleStartChat} onStartChat={() => handleConversationIdChange('-1')}
/> />
) )
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment