From 52ebaa53d8fe8797b8d79b5f16dd1ccfb7e2c471 Mon Sep 17 00:00:00 2001 From: Andrean <88448470+QkoSad@users.noreply.github.com> Date: Mon, 8 May 2023 17:05:12 +0000 Subject: [PATCH] Update AddEducation.js --- client/src/components/profile-forms/AddEducation.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/client/src/components/profile-forms/AddEducation.js b/client/src/components/profile-forms/AddEducation.js index 681ad86..7b272f8 100644 --- a/client/src/components/profile-forms/AddEducation.js +++ b/client/src/components/profile-forms/AddEducation.js @@ -34,11 +34,7 @@ const AddEducation = ({ addEducation }) => { className="form" onSubmit={(e) => { e.preventDefault(); -<<<<<<< HEAD addEducation(formData).then(() => navigate('/dashboard')); -======= - addEducation(formData, navigate); ->>>>>>> cc38df43629d64ca77f694c971a13a026b3afcfb }} >
@@ -119,8 +115,4 @@ AddEducation.propTypes = { addEducation: PropTypes.func.isRequired }; -<<<<<<< HEAD export default connect(null, { addEducation })(AddEducation); -======= -export default connect(null, { addEducation })(AddEducation); ->>>>>>> cc38df43629d64ca77f694c971a13a026b3afcfb