Skip to content

Commit

Permalink
Merge pull request #91 from andrewwippler/hotfix/no-content
Browse files Browse the repository at this point in the history
Fix no content breakage
  • Loading branch information
andrewwippler authored Oct 18, 2024
2 parents 8ed309e + be2d569 commit 213f3a8
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 213f3a8

Please sign in to comment.