diff --git a/src/views/post/post.module.css b/src/views/post/post.module.css index 9767a21c..72d448fa 100644 --- a/src/views/post/post.module.css +++ b/src/views/post/post.module.css @@ -3,6 +3,12 @@ overflow-x: hidden; } +.error { + color: red; + padding: 5px; + display: block; +} + .thread { clear: both; } @@ -508,6 +514,11 @@ } @media (min-width: 640px) { + .error { + padding-left: 0; + padding-bottom: 0; + } + .replyQuotePreview { padding-right: 7px; padding-left: 2px; diff --git a/src/views/post/post.tsx b/src/views/post/post.tsx index 415839cd..16846192 100644 --- a/src/views/post/post.tsx +++ b/src/views/post/post.tsx @@ -75,7 +75,7 @@ const PostPage = () => { post = comment; } - const { deleted, locked, removed } = post || {}; + const { error, deleted, locked, removed, replyCount } = post || {}; const isThreadClosed = deleted || locked || removed; useEffect(() => { @@ -92,6 +92,9 @@ const PostPage = () => {