Skip to content

Commit

Permalink
Merge pull request #144 from mcode/connectathon_2025-01_3
Browse files Browse the repository at this point in the history
show the card details
  • Loading branch information
smalho01 authored Jan 10, 2025
2 parents d688aef + eee2690 commit c24d8b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/DisplayBox/DisplayBox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ const DisplayBox = props => {
// -- Detail (ReactMarkdown supports Github-flavored markdown) --
const detailSection = card.detail ? (
<div>
<ReactMarkdown source={card.detail} />
<ReactMarkdown source={card.detail}>{card.detail}</ReactMarkdown>
</div>
) : (
<p style={{ color: 'grey' }}>None</p>
Expand Down Expand Up @@ -358,8 +358,8 @@ const DisplayBox = props => {
{/* Forms */}
{linksSection.length !== 0 ? (
<div>
<Typography color="text.secondary">Required Forms</Typography>
<Typography variant="div">{detailSection}</Typography>
<Typography color="text.secondary">Required Forms</Typography>
<List className={'links-section'}>{linksSection}</List>
</div>
) : (
Expand Down

0 comments on commit c24d8b6

Please sign in to comment.