fix: scroll to bottom button
This commit is contained in:
1 parent
14be6fc933
commit
5ad9488efa
1 file changed
+1
@@ -259,6 +259,7 @@
|
|||||||
const createNewChat = async (init = false) => {
|
const createNewChat = async (init = false) => {
|
||||||
if (init || messages.length > 0) {
|
if (init || messages.length > 0) {
|
||||||
chatId = uuidv4();
|
chatId = uuidv4();
|
||||||
|
autoScroll = true;
|
||||||
messages = [];
|
messages = [];
|
||||||
title = '';
|
title = '';
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user