removed horizontal line when unecessary

This commit is contained in:
DrMint 2022-04-24 15:07:06 +02:00
parent 9b162b0d49
commit 15f44a009a
1 changed files with 1 additions and 2 deletions

View File

@ -320,10 +320,9 @@ export default function Content(props: Props): JSX.Element {
<Markdawn text={selectedTextSet?.text ?? ""} /> <Markdawn text={selectedTextSet?.text ?? ""} />
<HorizontalLine />
{content.next_recommended?.data?.attributes && ( {content.next_recommended?.data?.attributes && (
<> <>
<HorizontalLine />
<h2 className="text-center text-2xl mb-4">Follow-up content</h2> <h2 className="text-center text-2xl mb-4">Follow-up content</h2>
<PreviewLine <PreviewLine
href={`/contents/${content.next_recommended.data.attributes.slug}`} href={`/contents/${content.next_recommended.data.attributes.slug}`}