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