Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
mimecuvalo committed Nov 5, 2023
1 parent 910e4cf commit ad00272
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions components/content/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@ export default function Header({ content }: { content: Content }) {
<Tooltip title={content.title} placement="top-start">
<Typography variant="h1">
<ContentLink item={content} currentContent={content}>
<span className="p-name notranslate">{content.title}</span>
{isOwnerViewing && content.hidden && (
<span>
&nbsp;
<F defaultMessage="(hidden)" />
</span>
)}
<>
<span className="p-name notranslate">{content.title}</span>
{isOwnerViewing && content.hidden && (
<span>
&nbsp;
<F defaultMessage="(hidden)" />
</span>
)}
</>
</ContentLink>

{/* {isOwnerViewing ? (
Expand Down

0 comments on commit ad00272

Please sign in to comment.