blog post and other fixes/additions #124
@ -196,7 +196,8 @@ export const Comments = ({ addressable, setCommentCount }: Props) => {
|
|||||||
<div className='IBMSMSMBSSCommentsWrapper'>
|
<div className='IBMSMSMBSSCommentsWrapper'>
|
||||||
<h4 className='IBMSMSMBSSTitle'>Comments</h4>
|
<h4 className='IBMSMSMBSSTitle'>Comments</h4>
|
||||||
<div className='IBMSMSMBSSComments'>
|
<div className='IBMSMSMBSSComments'>
|
||||||
<CommentForm handleSubmit={handleSubmit} />
|
{/* Hide comment form is aTag is missing */}
|
||||||
|
{!!addressable.aTag && <CommentForm handleSubmit={handleSubmit} />}
|
||||||
<Filter
|
<Filter
|
||||||
filterOptions={filterOptions}
|
filterOptions={filterOptions}
|
||||||
setFilterOptions={setFilterOptions}
|
setFilterOptions={setFilterOptions}
|
||||||
|
@ -299,6 +299,7 @@ export const BlogPage = () => {
|
|||||||
)}
|
)}
|
||||||
<div className='IBMSMSplitMainBigSideSec'>
|
<div className='IBMSMSplitMainBigSideSec'>
|
||||||
<Comments
|
<Comments
|
||||||
|
key={blog.id}
|
||||||
addressable={blog as Addressable}
|
addressable={blog as Addressable}
|
||||||
setCommentCount={setCommentCount}
|
setCommentCount={setCommentCount}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user