chore: fix daily review params

This commit is contained in:
Steven 2023-09-18 22:38:52 +08:00
parent 8fbd33be09
commit e2b82929ab

View file

@ -49,7 +49,7 @@ const DailyReview = () => {
let offset = 0;
const fetchMoreMemos = async () => {
try {
const fetchedMemos = await memoStore.fetchMemos(DEFAULT_MEMO_LIMIT, offset);
const fetchedMemos = await memoStore.fetchMemos("", DEFAULT_MEMO_LIMIT, offset);
offset += fetchedMemos.length;
if (fetchedMemos.length === DEFAULT_MEMO_LIMIT) {
const lastMemo = last(fetchedMemos);