Skip to content

Commit eee2690

Browse files
committed
show the card details
1 parent d688aef commit eee2690

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/DisplayBox/DisplayBox.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ const DisplayBox = props => {
242242
// -- Detail (ReactMarkdown supports Github-flavored markdown) --
243243
const detailSection = card.detail ? (
244244
<div>
245-
<ReactMarkdown source={card.detail} />
245+
<ReactMarkdown source={card.detail}>{card.detail}</ReactMarkdown>
246246
</div>
247247
) : (
248248
<p style={{ color: 'grey' }}>None</p>
@@ -358,8 +358,8 @@ const DisplayBox = props => {
358358
{/* Forms */}
359359
{linksSection.length !== 0 ? (
360360
<div>
361-
<Typography color="text.secondary">Required Forms</Typography>
362361
<Typography variant="div">{detailSection}</Typography>
362+
<Typography color="text.secondary">Required Forms</Typography>
363363
<List className={'links-section'}>{linksSection}</List>
364364
</div>
365365
) : (

0 commit comments

Comments
 (0)