From 45fe6896b0854e171ed5409655eb2895a580d521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8Curda?= Date: Tue, 19 Nov 2024 13:38:31 +0100 Subject: [PATCH] Fix(examples): Add mandatory elementType to examples --- examples/next-with-app-router/src/app/page.tsx | 6 +++++- examples/next-with-pages-router/src/pages/index.tsx | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/examples/next-with-app-router/src/app/page.tsx b/examples/next-with-app-router/src/app/page.tsx index 367b25b8ad..fc86cc74ca 100644 --- a/examples/next-with-app-router/src/app/page.tsx +++ b/examples/next-with-app-router/src/app/page.tsx @@ -1,6 +1,10 @@ import { Heading } from '@lmc-eu/spirit-web-react'; import { NextPage } from 'next'; -const Home: NextPage = () => Spirit App Router; +const Home: NextPage = () => ( + + Spirit App Router + +); export default Home; diff --git a/examples/next-with-pages-router/src/pages/index.tsx b/examples/next-with-pages-router/src/pages/index.tsx index 188cefa826..e3058e2774 100644 --- a/examples/next-with-pages-router/src/pages/index.tsx +++ b/examples/next-with-pages-router/src/pages/index.tsx @@ -1,6 +1,10 @@ import { Heading } from '@lmc-eu/spirit-web-react'; import { NextPage } from 'next'; -const Home: NextPage = () => Spirit Pages App; +const Home: NextPage = () => ( + + Spirit Pages App + +); export default Home;