mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: search conditions affected by pull-to-refresh (#4159)
This commit is contained in:
@@ -49,7 +49,7 @@ const PagedMemoList = (props: Props) => {
|
||||
memoList.reset();
|
||||
setState((state) => ({ ...state, nextPageToken: "" }));
|
||||
fetchMoreMemos("");
|
||||
}, []);
|
||||
}, [props.filter, props.pageSize]);
|
||||
|
||||
useEffect(() => {
|
||||
refreshList();
|
||||
|
Reference in New Issue
Block a user