From 72ca014e4856625f0af9fa084bad76b4b634b219 Mon Sep 17 00:00:00 2001 From: Satyam Singh Date: Fri, 15 Mar 2024 12:53:04 -0500 Subject: [PATCH] key error fixed --- components/Experience.js | 6 ++++-- components/Projects.js | 17 +++++++++++++---- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/components/Experience.js b/components/Experience.js index 781efc4..a91d789 100644 --- a/components/Experience.js +++ b/components/Experience.js @@ -47,6 +47,7 @@ const Experience = () => {
@@ -66,8 +67,9 @@ const Experience = () => {

{item.date}

- {item.skills.map((skill) => ( - + {item.skills.map((skill, index) => ( + {skill} ))} diff --git a/components/Projects.js b/components/Projects.js index ddbe2c6..866be6d 100644 --- a/components/Projects.js +++ b/components/Projects.js @@ -30,14 +30,21 @@ export const project = [ name: "Portfolio Website", description: "Explored web development by building a personal website to share past projects I developed during my classes or in my free time, experiences gained through internships and RSOs, and contact information to enable people to connect with me. I used the Next.js framework alongside Tailwind CSS to create an appealing website to showcase my profile.", - skills: ["nextjs", "tailwind", "css", "javascript", "full-stack", "web-dev"], + skills: [ + "nextjs", + "tailwind", + "css", + "javascript", + "full-stack", + "web-dev", + ], }, ]; const Projects = () => { return ( <> -
+
Projects
@@ -47,6 +54,7 @@ const Projects = () => { > {project.map((item) => (
@@ -66,8 +74,9 @@ const Projects = () => { {item.description}
- {item.skills.map((skill) => ( - + {item.skills.map((skill, index) => ( + {skill} ))}