view changes to ExpandedComment.js
This commit is contained in:
parent
8d35bf7620
commit
a485873544
@ -1,6 +1,6 @@
|
||||
import React from 'react'
|
||||
|
||||
const ExpandedComment = props => {
|
||||
const { text } = props
|
||||
return (
|
||||
<li className="" key={props.id}>
|
||||
<div className="media bg bg-dark">
|
||||
@ -12,7 +12,7 @@ const ExpandedComment = props => {
|
||||
</a>
|
||||
</div>
|
||||
<div className="white">
|
||||
<small>July 9 2019, 01:32:27 UTC</small>
|
||||
<small>{props.createdAt}</small>
|
||||
{props.replies.length > 0 ? (
|
||||
<span
|
||||
className="a ml-3"
|
||||
@ -33,7 +33,7 @@ const ExpandedComment = props => {
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div className="">{text}</div>
|
||||
<div className="">{props.text}</div>
|
||||
</li>
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user