refactor: remove dead code identified by knip

Delete unused Fab component (superseded by QuickAddFab), unused server
actions and queries (listDashboards, reorderDashboards, deleteCareLog,
canAccessContainer, getOverduePlants, getCareDueSoon, addItemToDefaultList,
reorderItems, getOrCreateDefaultList), unused helpers (getCurrentUser,
BrandWordmark, TopbarSpacer, DEV_LOGIN_COOKIE, no-arg ensureDefault*
wrappers, addListItem re-export), and drop export keyword from five
internal-only functions.

Verified with typecheck, eslint, and production build after each removal.
This commit is contained in:
ginnoir
2026-06-09 15:55:21 -05:00
parent d4ac20f511
commit 944dcdf48f
16 changed files with 6 additions and 226 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ export async function listReminders(entityType: string, entityId: string) {
.where(and(eq(reminders.entityType, entityType), eq(reminders.entityId, entityId)));
}
export async function tickReminders() {
async function tickReminders() {
let dueReminders: (typeof reminders.$inferSelect)[] = [];
try {