Skip to content

Commit 2abf756

Browse files
author
Bill Chirico
committed
style: apply biome auto-fixes (import order, formatting)
1 parent 1e80640 commit 2abf756

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

src/utils/dbMaintenance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
*/
1010

1111
import { info, error as logError, warn } from '../logger.js';
12-
import { getConfig } from '../modules/config.js';
1312
import { purgeOldAuditLogs } from '../modules/auditLogger.js';
13+
import { getConfig } from '../modules/config.js';
1414

1515
/** Track optional tables we've already warned about to avoid hourly log spam */
1616
const warnedMissingOptionalTables = new Set();

web/src/components/dashboard/performance-dashboard.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,7 @@ export function PerformanceDashboard() {
360360
<CartesianGrid strokeDasharray="3 3" className="stroke-muted" />
361361
<XAxis dataKey="time" tick={{ fontSize: 11 }} />
362362
<YAxis unit=" MB" tick={{ fontSize: 11 }} />
363-
<Tooltip
364-
formatter={(v) => (v != null ? [`${v} MB`] : [''])}
365-
/>
363+
<Tooltip formatter={(v) => (v != null ? [`${v} MB`] : [''])} />
366364
<Area
367365
type="monotone"
368366
dataKey="heap"
@@ -402,9 +400,7 @@ export function PerformanceDashboard() {
402400
<CartesianGrid strokeDasharray="3 3" className="stroke-muted" />
403401
<XAxis dataKey="time" tick={{ fontSize: 11 }} />
404402
<YAxis domain={[0, 100]} unit="%" tick={{ fontSize: 11 }} />
405-
<Tooltip
406-
formatter={(v) => (v != null ? [`${v}%`] : [''])}
407-
/>
403+
<Tooltip formatter={(v) => (v != null ? [`${v}%`] : [''])} />
408404
<Area
409405
type="monotone"
410406
dataKey="cpu"

0 commit comments

Comments
 (0)