mirror of
https://github.com/usememos/memos.git
synced 2025-09-12 08:44:33 +08:00
chore: fix daily review params
This commit is contained in:
parent
8fbd33be09
commit
e2b82929ab
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue