Unverified Commit 0f8b7b7f authored by hchengting's avatar hchengting Committed by GitHub

fix: show loader icon while refreshing (#4358)

parent 503c892a
...@@ -57,7 +57,7 @@ const PagedMemoList = (props: Props) => { ...@@ -57,7 +57,7 @@ const PagedMemoList = (props: Props) => {
const refreshList = async () => { const refreshList = async () => {
memoList.reset(); memoList.reset();
setState((state) => ({ ...state, nextPageToken: "" })); setState((state) => ({ ...state, nextPageToken: "" }));
fetchMoreMemos(""); await fetchMoreMemos("");
}; };
useEffect(() => { useEffect(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment