From be2d569d0afd4ad6c6bce65ed7b9a16386ac0cf0 Mon Sep 17 00:00:00 2001 From: Andrew J Wippler Date: Fri, 18 Oct 2024 07:54:58 +0300 Subject: [PATCH] Fix no content breakage --- frontend/src/pages/tag/[name].tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/tag/[name].tsx b/frontend/src/pages/tag/[name].tsx index f7d89e9..8d3512b 100644 --- a/frontend/src/pages/tag/[name].tsx +++ b/frontend/src/pages/tag/[name].tsx @@ -153,7 +153,7 @@ export default function Tag() { {d.title}
- {d.content.slice(0, 256)}... + {d.content ? (d.content.slice(0, 256) + "...") : ( "No Content" )}
))