Skip to content

Commit

Permalink
linking
Browse files Browse the repository at this point in the history
  • Loading branch information
feruzm committed Jan 25, 2024
1 parent 82bf2fd commit b3e4e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/components/operations/operationCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const OperationCardData=(props:any)=>{
/>

<span>
<Link to={typeof (value[val] === 'string') && index===0?`/@${value[val]}`:`/@${value[val][0]}`}>{typeof (value[val] === 'string') ? value[val]:value[val][0]}&nbsp;</Link>
<Link to={typeof (value[val] === 'string')?`/@${value[val]}`:`/@${value[val][0]}`}>{typeof (value[val] === 'string') ? value[val]:value[val][0]}&nbsp;</Link>
<span dangerouslySetInnerHTML={{ __html: type==='comment_operation' && value.hasOwnProperty('parent_permlink')? 'replied to' : type==='comment_operation' && value.hasOwnProperty('comment_permlink')? 'comments to':text}} />

{type==='vote_operation' && <span >
Expand Down

0 comments on commit b3e4e89

Please sign in to comment.