diff --git a/package.json b/package.json
index 106dd3cd..cb88cbc3 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@inseefr/lunatic-dsfr",
- "version": "1.0.1",
+ "version": "1.0.2",
"description": "Couche graphique pour Lunatic reposant sur le Système de Design de l'État (DSFR)",
"repository": {
"type": "git",
diff --git a/src/Roundabout/roundabout-it-title.tsx b/src/Roundabout/roundabout-it-title.tsx
index e5801df6..371b7323 100644
--- a/src/Roundabout/roundabout-it-title.tsx
+++ b/src/Roundabout/roundabout-it-title.tsx
@@ -1,20 +1,12 @@
import classnames from "classnames";
-import { useColors } from "@codegouvfr/react-dsfr/useColors";
import { useStyles } from "tss-react/dsfr";
import { fr } from "@codegouvfr/react-dsfr";
function UnnecessaryText({ unnecessary }: { unnecessary?: string | boolean }) {
- const theme = useColors();
-
if (unnecessary) {
return (
-
- {unnecessary}
-
+
{unnecessary}
);
}
@@ -28,7 +20,6 @@ export function RoundaboutItTitle({
label: string;
unnecessary?: string | boolean;
}) {
- const theme = useColors();
const { css } = useStyles();
return (
@@ -46,10 +37,7 @@ export function RoundaboutItTitle({
>
-
+
{label}
diff --git a/src/Suggester/elements/Label.tsx b/src/Suggester/elements/Label.tsx
index fd801426..666d530e 100644
--- a/src/Suggester/elements/Label.tsx
+++ b/src/Suggester/elements/Label.tsx
@@ -5,7 +5,6 @@ import { fr } from "@codegouvfr/react-dsfr";
type Props = PropsWithChildren<{
id?: string;
- htmlFor?: string;
className?: string;
style?: CSSProperties;
description?: ReactNode | Array<{ label: ReactNode; declarationType: string }>;
@@ -45,11 +44,10 @@ function Description({ value, className }: DescriptionProps) {
return
;
}
-export function Label({ children, id, htmlFor, className, style, description }: Props) {
+export function Label({ children, id, className, style, description }: Props) {
if (children) {
return (