From 29965aa61c4001007c4514c31b4984a29c3c238c Mon Sep 17 00:00:00 2001 From: Simon Phillips Date: Wed, 11 Oct 2023 12:51:59 -0400 Subject: [PATCH] Fix --- src/components/CurrentSection.tsx | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/components/CurrentSection.tsx diff --git a/src/components/CurrentSection.tsx b/src/components/CurrentSection.tsx deleted file mode 100644 index 39abcc9..0000000 --- a/src/components/CurrentSection.tsx +++ /dev/null @@ -1,27 +0,0 @@ -// src/components/CurrentSection.tsx -import React from 'react'; -import AboutPage from '@/pages/app/about/about'; // Import your section components -import WorkExperience from '@/pages/app/work-experience/pages'; -import Education from '@/pages/app/education/education'; -import Portfolio from '@/pages/app/portfolio/pages'; -import References from '@/pages/app/references/references'; -import { CurrentSectionProps } from '@/types'; - -const CurrentSection: React.FC = ({ sectionID }) => { - switch (sectionID) { - case 'about': - return ; - case 'work-experience': - return ; - case 'education': - return ; - case 'portfolio': - return ; - case 'references': - return ; - default: - return null; // Handle the case where the sectionID is invalid - } -}; - -export default CurrentSection;