Skip to content

Commit

Permalink
refactor: Update NewsPostCard component to use a div instead of a p t…
Browse files Browse the repository at this point in the history
…ag for the excerpt
  • Loading branch information
dvaJi committed Aug 7, 2024
1 parent 22fb949 commit 868a220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/zenless/NewsPostCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const NewsPostCard = ({ post }: Props) => {
<h3 className="my-1 text-xl font-semibold text-zinc-950 transition-all group-hover:underline">
{post.title}
</h3>
<p
<div
className="mb-1 text-sm text-zinc-400"
dangerouslySetInnerHTML={{ __html: post.excerpt }}
/>
Expand Down

0 comments on commit 868a220

Please sign in to comment.