diff --git a/cv-project/src/components/educationInfo.jsx b/cv-project/src/components/educationInfo.jsx
index 4bce297..78bfd3a 100644
--- a/cv-project/src/components/educationInfo.jsx
+++ b/cv-project/src/components/educationInfo.jsx
@@ -1,31 +1,45 @@
-import { useState } from "react";
+import { useState, useEffect } from "react";
export default function EducationInfo() {
- const [education, setEducation] = useState([]);
+ const [schools, setSchools] = useState([]);
const [educationItemActive, setEducationItemActive] = useState(false);
+ const [editSchool, setEditSchool] = useState(null);
+
+ const mainDivStyle = {
+ display: "flex",
+ justifyContent: "space-between",
+ flexDirection: "row-reverse",
+ };
return (
-
- {education.length <= 0 ? (
+
+ {schools.length <= 0 ? (
<>
Add your Education info
>
) : (
-
+
)}
-
+
+
-
+
+
);
}
@@ -40,9 +54,7 @@ function EducationDisplay(props) {
Graduation Date: {item.graduationDate + " "}
Field of Study: {item.fieldOfStudy}
-
+