diff --git a/components/minimal-home.tsx b/components/minimal-home.tsx index 3f28dcc..b115185 100644 --- a/components/minimal-home.tsx +++ b/components/minimal-home.tsx @@ -33,39 +33,47 @@ export function KnowledgeSummary({ chains, teachSessions, practiceSessions, - sources, + importedNotes, }: { propositions: number; chains: number; teachSessions: number; practiceSessions: number; - sources: string[]; + importedNotes: number; }) { - const empty = propositions === 0 && chains === 0 && teachSessions === 0 && practiceSessions === 0 && sources.length === 0; + const empty = + propositions === 0 && chains === 0 && teachSessions === 0 && practiceSessions === 0 && importedNotes === 0; return ( -
+ {propositions} {propositions === 1 ? "proposition" : "propositions"} +
++ {chains} {chains === 1 ? "chain" : "chains"} +
++ {teachSessions} {teachSessions === 1 ? "teaching session" : "teaching sessions"} +
++ {practiceSessions} {practiceSessions === 1 ? "practice session" : "practice sessions"} +
+- {propositions} {propositions === 1 ? "proposition" : "propositions"} · {chains}{" "} - {chains === 1 ? "chain" : "chains"} + {importedNotes} {importedNotes === 1 ? "imported note" : "imported notes"}
-- {teachSessions} {teachSessions === 1 ? "teaching session" : "teaching sessions"} · {practiceSessions}{" "} - {practiceSessions === 1 ? "practice session" : "practice sessions"} -
- {empty ? ( + {empty && (Nothing here yet — import notes to begin building the graph.
- ) : ( - sources.length > 0 && ( -- {path} -
- ))} -