diff --git a/client/src/pages/EntryPage.tsx b/client/src/pages/EntryPage.tsx index 07e6680..a5861d4 100644 --- a/client/src/pages/EntryPage.tsx +++ b/client/src/pages/EntryPage.tsx @@ -40,11 +40,15 @@ export default function EntryPage() { const quizLink = `/quiz?mode=entry&id=${encodeURIComponent(entry.id)}`; const ig = entry.ig_meta; + const fromSummary = Boolean(location.state && (location.state as any).fromSummary); return (