mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-26 02:36: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);
|
setSideBarCollapse(true);
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
onDoubleClick={() => {
|
||||||
|
createNewSession();
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<ChatList />
|
<ChatList />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user