mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
refactor: migrate memo to apiv1 (#1907)
* refactor: migrate memo to apiv1 * chore: update * chore: update * chore: update * chore: upate * chore: update * chore: update
This commit is contained in:
@ -57,7 +57,7 @@ const UsageHeatMap = () => {
|
||||
|
||||
useEffect(() => {
|
||||
getMemoStats(currentUserId)
|
||||
.then(({ data: { data } }) => {
|
||||
.then(({ data }) => {
|
||||
setMemoAmount(data.length);
|
||||
const newStat: DailyUsageStat[] = getInitialUsageStat(usedDaysAmount, beginDayTimestamp);
|
||||
for (const record of data) {
|
||||
|
Reference in New Issue
Block a user