Commit e2b82929 authored by Steven's avatar Steven

chore: fix daily review params

parent 8fbd33be
...@@ -49,7 +49,7 @@ const DailyReview = () => { ...@@ -49,7 +49,7 @@ const DailyReview = () => {
let offset = 0; let offset = 0;
const fetchMoreMemos = async () => { const fetchMoreMemos = async () => {
try { try {
const fetchedMemos = await memoStore.fetchMemos(DEFAULT_MEMO_LIMIT, offset); const fetchedMemos = await memoStore.fetchMemos("", DEFAULT_MEMO_LIMIT, offset);
offset += fetchedMemos.length; offset += fetchedMemos.length;
if (fetchedMemos.length === DEFAULT_MEMO_LIMIT) { if (fetchedMemos.length === DEFAULT_MEMO_LIMIT) {
const lastMemo = last(fetchedMemos); const lastMemo = last(fetchedMemos);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment