Skip to content

Commit

Permalink
Fix no content breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewwippler committed Oct 18, 2024
1 parent 8ed309e commit be2d569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/tag/[name].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default function Tag() {
{d.title}
</Link>
<div className="invisible h-0 group-hover/item:h-auto group-hover/item:visible">
{d.content.slice(0, 256)}...
{d.content ? (d.content.slice(0, 256) + "...") : ( "No Content" )}
</div>
</li>
))
Expand Down

0 comments on commit be2d569

Please sign in to comment.