diff --git a/client/src/pages/EntryPage.tsx b/client/src/pages/EntryPage.tsx index eb98fa5..9d101a4 100644 --- a/client/src/pages/EntryPage.tsx +++ b/client/src/pages/EntryPage.tsx @@ -38,6 +38,9 @@ export default function EntryPage() { const counts = entry.counts || { grammar: 0, vocab: 0, key_phrases: 0, conversation: 0, quiz: 0 }; const quizLink = `/quiz?mode=entry&id=${encodeURIComponent(entry.id)}`; + const ig = entry.ig_meta; + const profileUrl = ig?.profile_url || (ig?.username ? `https://www.instagram.com/${ig.username}/` : undefined); + const postDate = ig?.post_date ? new Date(ig.post_date).toLocaleString() : undefined; return (
{ig.description}
} +