Skip to content

Commit

Permalink
fix(reply): hide contenta and title for blocked replies
Browse files Browse the repository at this point in the history
  • Loading branch information
MrOrz committed Sep 29, 2024
1 parent febc953 commit fdbff12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/reply/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -206,15 +206,15 @@ function ReplyPage() {
return (
<AppLayout>
<Head>
<title>
{ellipsis(reply.text, { wordCount: 100 })} | {t`Cofacts`}
</title>
<title>{t`Cofacts`}</title>
<meta name="robots" content="noindex" />
</Head>
<div className={classes.root}>
<Card>
<CardHeader>{t`This reply`}</CardHeader>
<CardContent>{reply.text}</CardContent>
<CardContent>
{!currentUser ? t`Log in to view content` : reply.text}
</CardContent>
</Card>
</div>
</AppLayout>
Expand Down

0 comments on commit fdbff12

Please sign in to comment.