mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 04:21:24 +00:00
chore: Enable some "perf" lint rules.
This commit is contained in:
@@ -218,7 +218,7 @@ export async function loadCostUsageSummary(params?: {
|
||||
}
|
||||
|
||||
const daily = Array.from(dailyMap.entries())
|
||||
.map(([date, bucket]) => ({ date, ...bucket }))
|
||||
.map(([date, bucket]) => Object.assign({ date }, bucket))
|
||||
.sort((a, b) => a.date.localeCompare(b.date));
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user