From 74327d92e5017789d57a51a52a07879644ee0b74 Mon Sep 17 00:00:00 2001 From: jonaschlegel Date: Mon, 28 Oct 2024 18:54:43 +0100 Subject: [PATCH] Remove react import statement --- app/cv/page.tsx | 6 +++--- app/imprint/page.tsx | 2 -- app/page.tsx | 1 - app/privacy-policy/page.tsx | 2 -- app/projects/[slug]/page.tsx | 2 +- app/terms-and-conditions/page.tsx | 2 -- 6 files changed, 4 insertions(+), 11 deletions(-) diff --git a/app/cv/page.tsx b/app/cv/page.tsx index 0466e68..653be0d 100644 --- a/app/cv/page.tsx +++ b/app/cv/page.tsx @@ -1,7 +1,7 @@ /* eslint-disable react/no-array-index-key */ import fs from 'node:fs/promises'; import path from 'node:path'; -import React from 'react'; +import { Fragment } from 'react'; import CvTabs from '../components/CvTabs'; interface Job { @@ -354,7 +354,7 @@ const CvPage = async () => { ); return ( - + {/* Publications Column */}
{
))} -
+ ); })} diff --git a/app/imprint/page.tsx b/app/imprint/page.tsx index f6f9f9e..eedfd98 100644 --- a/app/imprint/page.tsx +++ b/app/imprint/page.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - const Imprint = () => { return (
diff --git a/app/page.tsx b/app/page.tsx index 3f7d316..9f5b38a 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import Banner from './components/Banner'; import FeaturedProjects from './components/FeaturedProjects'; import Hero from './components/Hero'; diff --git a/app/privacy-policy/page.tsx b/app/privacy-policy/page.tsx index 4324715..8ed93ff 100644 --- a/app/privacy-policy/page.tsx +++ b/app/privacy-policy/page.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - const PrivacyPolicy = () => { return (
diff --git a/app/projects/[slug]/page.tsx b/app/projects/[slug]/page.tsx index 981e5b2..e777dba 100644 --- a/app/projects/[slug]/page.tsx +++ b/app/projects/[slug]/page.tsx @@ -1,7 +1,7 @@ import type { MDXComponents } from 'mdx/types'; import Image from 'next/image'; import { notFound } from 'next/navigation'; -import { JSX } from 'react'; +import type { JSX } from 'react'; import type { ProjectType } from '../../../types/global'; import { projectsData } from '../../data/content'; diff --git a/app/terms-and-conditions/page.tsx b/app/terms-and-conditions/page.tsx index b830a8c..984cec0 100644 --- a/app/terms-and-conditions/page.tsx +++ b/app/terms-and-conditions/page.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - const TermsAndConditions = () => { return (