From 48c79e025894b4aabd66d51dd827c9ac84a51799 Mon Sep 17 00:00:00 2001 From: "Mr. kuldeep" Date: Thu, 8 Aug 2024 11:37:12 +0530 Subject: [PATCH] done hi hi hi... --- src/Components/EduCard.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Components/EduCard.jsx b/src/Components/EduCard.jsx index e574274..5c4ee3e 100644 --- a/src/Components/EduCard.jsx +++ b/src/Components/EduCard.jsx @@ -1,6 +1,8 @@ import React from 'react' const EducationCard = ({degreename,percent="64",uniname,session="year-year",desc="details of your degree to showcase 💜"}) => { + const percentNum = Number(percent) + "%" || percent + "%" ; + console.log(typeof percentNum +" " + percentNum); return degreename && uniname && (
{degreename} -

+

- {percent}% + {percentNum}