Skip to content

Commit

Permalink
display row dividers on crn (#4211)
Browse files Browse the repository at this point in the history
  • Loading branch information
AkosuaA authored Mar 22, 2024
1 parent 06c11c4 commit e1c7449
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,7 @@ const RelatedResearchCard = <
{relatedResearch
.slice(0, showMore ? undefined : truncateFrom)
.map(({ id, documentType, title: outputTitle, type, ...output }) => (
<div
key={id}
css={'entity' in output ? [rowStyles, rowDivider] : [rowStyles]}
>
<div key={id} css={[rowStyles, rowDivider]}>
<span css={[titleStyles, rowTitleStyles]}>{tableTitles[0]}</span>
<p css={paragraphStyle}>
{getIconForDocumentType(documentType)} {documentType}{' '}
Expand Down

0 comments on commit e1c7449

Please sign in to comment.