mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 19:46:37 +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);
|
setSideBarCollapse(true);
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
onDoubleClick={() => {
|
||||||
|
createNewSession();
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<ChatList />
|
<ChatList />
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user