mirror of
https://github.com/gurnec/removeddit.git
synced 2026-03-11 08:54:27 +00:00
Fix regression introduced in 9134f3f
This commit is contained in:
parent
9134f3f569
commit
cb7302c7ff
1 changed files with 2 additions and 2 deletions
|
|
@ -118,10 +118,10 @@ const Post = (props) => {
|
|||
}
|
||||
by <a className='thread-author author' href={userLink}>{props.author}</a> to /r/{props.subreddit}
|
||||
</div>
|
||||
{innerHTML[editedModes.orig] === undefined && totalComments}
|
||||
{innerHTML[editedModes.dfault] === undefined && totalComments}
|
||||
</div>
|
||||
</div>
|
||||
{innerHTML[editedModes.orig] !== undefined &&
|
||||
{innerHTML[editedModes.dfault] !== undefined &&
|
||||
<div className='thread-content'>
|
||||
<div className='thread-selftext user-text' dangerouslySetInnerHTML={{ __html: innerHTML[editedMode] }} />
|
||||
{totalComments}
|
||||
|
|
|
|||
Loading…
Reference in a new issue