Skip to content

Commit

Permalink
Fixes post flicker issue on initial load in Hashnode theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Harsh062 committed Dec 20, 2023
1 parent affc8ba commit 95f4fae
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ export const PostHeader = ({ post, morePosts }: Props) => {
const authorsArray = [post.author, ...(post.coAuthors || [])];
return (
<Fragment>
<article>
<div className="blog-article-page container relative mx-auto grid grid-cols-8">
<div className="col-span-full lg:col-span-6 lg:col-start-2">
{/* Top cover */}
Expand Down Expand Up @@ -318,7 +317,6 @@ export const PostHeader = ({ post, morePosts }: Props) => {
{!post.series && (
<OtherPostsOfAccount post={post} morePosts={top3FilteredPosts}/>
)}
</article>
{showCommentsSheet && (
<PostCommentsSidebar
hideSidebar={() => setShowCommentsSheet(false)}
Expand Down

0 comments on commit 95f4fae

Please sign in to comment.