From 0f8b7b7fe6ca4addf2a0beb0bfc3a066e95c8bee Mon Sep 17 00:00:00 2001 From: hchengting <74168694+hchengting@users.noreply.github.com> Date: Mon, 3 Feb 2025 15:59:46 +0800 Subject: [PATCH] fix: show loader icon while refreshing (#4358) --- web/src/components/PagedMemoList/PagedMemoList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/PagedMemoList/PagedMemoList.tsx b/web/src/components/PagedMemoList/PagedMemoList.tsx index ea28673f7..517f284e1 100644 --- a/web/src/components/PagedMemoList/PagedMemoList.tsx +++ b/web/src/components/PagedMemoList/PagedMemoList.tsx @@ -57,7 +57,7 @@ const PagedMemoList = (props: Props) => { const refreshList = async () => { memoList.reset(); setState((state) => ({ ...state, nextPageToken: "" })); - fetchMoreMemos(""); + await fetchMoreMemos(""); }; useEffect(() => {