style: fix no-empty — add comments to intentionally empty catch blocks
This commit is contained in:
@@ -168,7 +168,9 @@
|
||||
const data = await bmRes.json();
|
||||
bookingsMade = (data.bookings || []).length;
|
||||
}
|
||||
} catch {}
|
||||
} catch {
|
||||
// Non-critical — bookings-made fetch is optional for stats
|
||||
}
|
||||
|
||||
const newStats: Stats = {
|
||||
total,
|
||||
|
||||
Reference in New Issue
Block a user