mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: fix daily review params
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user