Skip to content

Commit

Permalink
fix(article code du rtavail): retrait du tage "Code du travail"
Browse files Browse the repository at this point in the history
  • Loading branch information
carolineBda committed Oct 1, 2024
1 parent c4c92cb commit a97154b
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 @@ -29,7 +28,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 @@ function ArticleCodeDuTravail({
html,
relatedItems,
url,
suptitle,
title,
notaHtml,
}: Props) {
Expand All @@ -33,7 +31,6 @@ 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 a97154b

Please sign in to comment.