Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add source to transcript card #60

Open
wants to merge 3 commits into
base: staging
Choose a base branch
from

Conversation

IgboPharaoh
Copy link
Collaborator

fixes #58

Copy link

vercel bot commented Nov 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
registry ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 28, 2024 3:51pm

@@ -13,16 +14,23 @@ interface TranscriptCardProps {
const TranscriptCard = ({ data, daysOpened, transcripts }: TranscriptCardProps) => {
const remainingSpeakers = data?.speakers?.length && data?.speakers.length > 2 ? data?.speakers.length - 2 : 0;

const mappedKeyToName = SourceCountData.find((source) => source.slug === data.slugAsParams[0])?.name;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we move this to the page component and pass the data as props

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants