From b33391ff370400c0ffec4893091b9bb6dada1071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Thu, 20 Oct 2022 18:12:31 +0200 Subject: [PATCH] Fix JSX warnings --- _includes/Head.tsx | 17 ++++++++++++++--- _includes/layouts/homepage.tsx | 7 ++++++- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/_includes/Head.tsx b/_includes/Head.tsx index 48297c9..8fb65a3 100644 --- a/_includes/Head.tsx +++ b/_includes/Head.tsx @@ -7,7 +7,7 @@ export default ({ extraScripts, cacheBust, }) => - + { titleFilter(title) } @@ -21,10 +21,21 @@ export default ({ <> {(extraStylesheets || []) - .map(extraStylesheet => )} + .map(extraStylesheet => )} <> {(extraScripts || []) - .map(extraScript => )} + .map(extraScript => )} ; diff --git a/_includes/layouts/homepage.tsx b/_includes/layouts/homepage.tsx index 69bc3ec..30c004e 100644 --- a/_includes/layouts/homepage.tsx +++ b/_includes/layouts/homepage.tsx @@ -25,7 +25,12 @@ export default ({
{links.map(({ href, title, openInNewTab }) => - {title} + {title} )}