Skip to content

Commit

Permalink
Merge branch 'preview'
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelfan committed Mar 8, 2024
2 parents 4b6fdc6 + 721fee6 commit 1fa9bfa
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/components/dataDisplay/postEmbed/RecordEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,6 @@ export default function RecordEmbed(props: Props) {

return (
<article className="flex flex-col rounded-xl">
{isBlocked && (
<div className="mt-2">
<BlockedEmbed depth={depth} />
</div>
)}
{notFound && (
<div className="mt-2">
<NotFoundEmbed depth={depth} />
</div>
)}
{media && <PostEmbed content={media} depth={depth + 1} />}
{isViewable && depth < 1 && (
<div
Expand Down Expand Up @@ -70,6 +60,16 @@ export default function RecordEmbed(props: Props) {
</div>
</div>
)}
{isBlocked && (
<div className="mt-2">
<BlockedEmbed depth={depth} />
</div>
)}
{notFound && (
<div className="mt-2">
<NotFoundEmbed depth={depth} />
</div>
)}
</article>
);
}

0 comments on commit 1fa9bfa

Please sign in to comment.