mirror of https://github.com/usememos/memos.git
fix: show loader icon while refreshing (#4358)
This commit is contained in:
parent
503c892abf
commit
0f8b7b7fe6
|
|
@ -57,7 +57,7 @@ const PagedMemoList = (props: Props) => {
|
|||
const refreshList = async () => {
|
||||
memoList.reset();
|
||||
setState((state) => ({ ...state, nextPageToken: "" }));
|
||||
fetchMoreMemos("");
|
||||
await fetchMoreMemos("");
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue