fix: search conditions affected by pull-to-refresh (#4159)

This commit is contained in:
Cheng 2024-11-29 22:13:41 +08:00 committed by GitHub
parent 009f4956ac
commit 2aa3795e50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,7 +49,7 @@ const PagedMemoList = (props: Props) => {
memoList.reset();
setState((state) => ({ ...state, nextPageToken: "" }));
fetchMoreMemos("");
}, []);
}, [props.filter, props.pageSize]);
useEffect(() => {
refreshList();