Skip to content

Commit

Permalink
fix(article code du travail): retrait du tag Code du travail (#6182)
Browse files Browse the repository at this point in the history
  • Loading branch information
carolineBda authored Oct 3, 2024
1 parent 70c41a0 commit 16ed3e8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { getLabelBySource, SOURCES } from "@socialgouv/cdtn-utils";
import { format } from "date-fns";
import frLocale from "date-fns/locale/fr";
import React from "react";
Expand Down Expand Up @@ -31,7 +30,6 @@ async function Fiche({ params }) {
return (
<DsfrLayout>
<ArticleCodeDuTravail
suptitle={getLabelBySource(SOURCES.CDT)}
title={title}
relatedItems={relatedItems}
date={format(new Date(dateDebut), "dd/MM/yyyy", {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ type Props = {
notaHtml?: string;
relatedItems: { items: RelatedItem[]; title: string }[];
url: string;
suptitle: string;
title: string;
};

Expand All @@ -23,7 +22,6 @@ export function ArticleCodeDuTravail({
html,
relatedItems,
url,
suptitle,
title,
notaHtml,
}: Props) {
Expand All @@ -33,7 +31,6 @@ export function ArticleCodeDuTravail({
title={title}
description={metaDescription}
>
<Tag className={fr.cx("fr-mb-6w")}>{suptitle}</Tag>
<h1 className={fr.cx("fr-mb-6w")}>{title}</h1>

<p>
Expand Down

0 comments on commit 16ed3e8

Please sign in to comment.