mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-25 18:26:48 +08:00
Update Home component to create new session on double click
This commit is contained in:
@@ -158,6 +158,9 @@ function _Home() {
|
||||
setSideBarCollapse(true);
|
||||
}
|
||||
}}
|
||||
onDoubleClick={() => {
|
||||
createNewSession();
|
||||
}}
|
||||
>
|
||||
<ChatList />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user