Problem
`hooks/useNotifications.ts` (PascalCase) is a second, differently-cased hook exporting the same name `useNotifications`, whose `poll()` body is entirely commented out as a placeholder, and which lacks a `'use client'` directive. Repo-wide grep shows zero importers — only `hooks/use-notifications.ts` (kebab-case) is actually used, by `components/layout/notification-bell.tsx`.
Location
`hooks/useNotifications.ts` (entire file, unused)
Impact
Dead scaffold code that risks confusing future contributors into editing or importing the wrong file (two files with the same exported name is an easy mistake to make).
Suggested fix
Delete `hooks/useNotifications.ts` since it has no importers and its functionality is superseded by `use-notifications.ts`.
Problem
`hooks/useNotifications.ts` (PascalCase) is a second, differently-cased hook exporting the same name `useNotifications`, whose `poll()` body is entirely commented out as a placeholder, and which lacks a `'use client'` directive. Repo-wide grep shows zero importers — only `hooks/use-notifications.ts` (kebab-case) is actually used, by `components/layout/notification-bell.tsx`.
Location
`hooks/useNotifications.ts` (entire file, unused)
Impact
Dead scaffold code that risks confusing future contributors into editing or importing the wrong file (two files with the same exported name is an easy mistake to make).
Suggested fix
Delete `hooks/useNotifications.ts` since it has no importers and its functionality is superseded by `use-notifications.ts`.