Make descriptions nullable

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2025-11-05 16:48:58 +01:00
parent 637f097cc6
commit 288c59a5f2
60 changed files with 311 additions and 375 deletions

View File

@@ -2,7 +2,7 @@ import type { PropsWithChildren, ReactNode } from "react";
type Props = PropsWithChildren<{
title: ReactNode;
description?: string;
description?: string | null;
}>;
export function PageHeader({ title, description, children }: Props) {