mirror of
https://github.com/usememos/memos.git
synced 2026-03-13 02:56:18 +08:00
fix: show loader icon while refreshing (#4358)
This commit is contained in:
parent
503c892abf
commit
0f8b7b7fe6
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ const PagedMemoList = (props: Props) => {
|
|||
const refreshList = async () => {
|
||||
memoList.reset();
|
||||
setState((state) => ({ ...state, nextPageToken: "" }));
|
||||
fetchMoreMemos("");
|
||||
await fetchMoreMemos("");
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue