Fixed thinking we are on login screen when really loading dashboard
This commit is contained in:
@ -10,8 +10,6 @@
|
||||
let budgetTransactions = $derived(data.budgetTransactions);
|
||||
let last30days = $derived(data.last30DaysTransactionsSums.reverse());
|
||||
|
||||
$inspect(last30days);
|
||||
|
||||
let chartData = $derived(
|
||||
last30days.reduce(
|
||||
(acc, curr) => [...acc, acc[acc.length - 1] + Number(curr.sum)],
|
||||
@ -19,7 +17,6 @@
|
||||
)
|
||||
);
|
||||
|
||||
$inspect(chartData);
|
||||
let chartDates = $derived([
|
||||
'now',
|
||||
...last30days.map((day) => `${day.date.getMonth() + 1}/${day.date.getDate()}`)
|
||||
|
||||
Reference in New Issue
Block a user