diff --git a/frontend-web/src/pages/KnowledgeBasePage.tsx b/frontend-web/src/pages/KnowledgeBasePage.tsx index e4f51090..1355f614 100644 --- a/frontend-web/src/pages/KnowledgeBasePage.tsx +++ b/frontend-web/src/pages/KnowledgeBasePage.tsx @@ -9,6 +9,7 @@ import { RefreshCw, Save, Search, + Sparkles, Trash2, X, } from "lucide-react"; @@ -415,7 +416,13 @@ function VaultPageDialog({ ); } -function NoteDetail({ noteId }: { noteId: string }) { +function NoteDetail({ + noteId, + onEntityClick, +}: { + noteId: string; + onEntityClick?: (name: string) => void; +}) { const navigate = useNavigate(); const { data: note, isLoading } = useKnowledgeNote(noteId); const { data: wikiLinks } = useNoteWikilinks(noteId); @@ -578,22 +585,28 @@ function NoteDetail({ noteId }: { noteId: string }) { {note.entities && note.entities.length > 0 ? (