mirror of
https://github.com/usememos/memos.git
synced 2025-10-06 20:36:44 +08:00
fix: search conditions affected by pull-to-refresh (#4159)
This commit is contained in:
parent
009f4956ac
commit
2aa3795e50
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ const PagedMemoList = (props: Props) => {
|
|||
memoList.reset();
|
||||
setState((state) => ({ ...state, nextPageToken: "" }));
|
||||
fetchMoreMemos("");
|
||||
}, []);
|
||||
}, [props.filter, props.pageSize]);
|
||||
|
||||
useEffect(() => {
|
||||
refreshList();
|
||||
|
|
Loading…
Add table
Reference in a new issue