diff --git a/client/src/components/EntryCard.tsx b/client/src/components/EntryCard.tsx index 1accc87..721ad26 100644 --- a/client/src/components/EntryCard.tsx +++ b/client/src/components/EntryCard.tsx @@ -7,8 +7,11 @@ interface Props { export default function EntryCard({ entry }: Props) { const { counts } = entry; + const learnLink = `/entry/${encodeURIComponent(entry.id)}`; + const quizLink = `/quiz?mode=entry&id=${encodeURIComponent(entry.id)}`; + return ( - +