From cc6c089c2a2706c1749cbc15374758f2660147e5 Mon Sep 17 00:00:00 2001 From: Gresille&Siffle <39056254+GresilleSiffle@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:32:55 +0100 Subject: [PATCH] front: simplify data type in ContentHeader.tsx --- frontend/src/components/ContentHeader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/ContentHeader.tsx b/frontend/src/components/ContentHeader.tsx index 0acf8a8a96..37e0f5ee0c 100644 --- a/frontend/src/components/ContentHeader.tsx +++ b/frontend/src/components/ContentHeader.tsx @@ -16,7 +16,7 @@ const ContentHeader = ({ chipLabel, }: { title: string; - subtitle?: string | React.ReactElement; + subtitle?: React.ReactNode; chipIcon?: React.ReactElement; chipLabel?: string; }) => {