Fix missing loading spinners and comments #122

Merged
enes merged 3 commits from fixes-11-13 into staging 2024-11-13 14:13:26 +00:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 297de3999c - Show all commits

View File

@ -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}

View File

@ -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}
/> />