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