Skip to content

Commit b3bec14

Browse files
committed
Fix: Make Header children optional
1 parent 48fd7dc commit b3bec14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const CustomLink = ({ url, label, children }: ICustomLinkProps) => {
1717
);
1818
};
1919

20-
const Header = ({ children }: { children: React.ReactNode }) => {
20+
const Header = ({ children }: { children?: React.ReactNode }) => {
2121
const [showAbout, setShowAbout] = useState(false);
2222

2323
function handleShowAbout(e: MouseEvent<HTMLButtonElement>) {

0 commit comments

Comments
 (0)