From c66813ee1abae5cbbe95d57113c10fb9daa05d52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=91=E4=BC=9F=E5=BC=BA?= Date: Thu, 25 May 2023 16:55:49 +0800 Subject: [PATCH] fix: creat not loaded more --- web/app/components/share/chat/sidebar/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/app/components/share/chat/sidebar/index.tsx b/web/app/components/share/chat/sidebar/index.tsx index 51a6bb7493..9f9c609c77 100644 --- a/web/app/components/share/chat/sidebar/index.tsx +++ b/web/app/components/share/chat/sidebar/index.tsx @@ -54,7 +54,10 @@ const Sidebar: FC = ({ }, { target: listRef, - isNoMore: () => isNoMore, + isNoMore: () => { + return isNoMore + }, + reloadDeps: [isNoMore] }, )