From c63738e17df4d5bfff2049a6d1c445c609c2189e Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Thu, 14 Mar 2024 19:29:29 -0400 Subject: fix: fix lots of type errors --- src/components/Header.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/Header.tsx') diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 95d5fef..a3b344d 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -5,13 +5,13 @@ import './Header.css'; export interface HeaderProps { children: ComponentChildren; class?: string; - title: string; + title?: string; } const Header = ({ children, title, ...props }: HeaderProps) => { return (
- {title && } + {!!title && } -- cgit v1.2.3