Skip to content

Commit

Permalink
fix: loadBalanceData
Browse files Browse the repository at this point in the history
  • Loading branch information
letehaha committed Aug 4, 2023
1 parent b10205e commit 8cbf372
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/widgets/current-balance.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ const loadBalanceData = async () => {
from: subDays(new Date(), loadDataForDays),
});
if (!result?.length) return [];
const interpolatedData: { date: string; amount: number }[] = [];
let lastValue: number | null = null;
Expand Down

0 comments on commit 8cbf372

Please sign in to comment.