mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-16 21:05:20 +02:00
`citation.tsx` and `citation-list.tsx` each defined the same `TYPE_ICONS: Record<CitationType, LucideIcon>` map with byte-identical contents. Extract it into `./type-icons.ts` and import from both call sites so the mapping has a single source of truth. While here, drop the Lucide icon imports (`Code2`, `Database`, `File`, `FileText`, `Newspaper`) and the now-unused `LucideIcon` / `CitationType` type imports from the two call sites, keeping only the icons still used directly (`Globe` for the fallback, `ExternalLink` for the hover affordance). Fixes #1190. |
||
|---|---|---|
| .. | ||
| citation | ||
| confluence | ||
| dropbox | ||
| gmail | ||
| google-calendar | ||
| google-drive | ||
| image | ||
| jira | ||
| linear | ||
| notion | ||
| onedrive | ||
| plan | ||
| shared | ||
| video-presentation | ||
| audio.tsx | ||
| generate-image.tsx | ||
| generate-podcast.tsx | ||
| generate-report.tsx | ||
| generic-hitl-approval.tsx | ||
| index.ts | ||
| sandbox-execute.tsx | ||
| user-memory.tsx | ||
| write-todos.tsx | ||