From b6da1705baff55cda9b9e40e576e1bda870c3bbb Mon Sep 17 00:00:00 2001 From: Andrean <88448470+QkoSad@users.noreply.github.com> Date: Mon, 8 May 2023 17:09:56 +0000 Subject: [PATCH] Update Profiles.js --- client/src/components/profiles/Profiles.js | 45 ---------------------- 1 file changed, 45 deletions(-) diff --git a/client/src/components/profiles/Profiles.js b/client/src/components/profiles/Profiles.js index b83853a..dcea737 100644 --- a/client/src/components/profiles/Profiles.js +++ b/client/src/components/profiles/Profiles.js @@ -1,4 +1,3 @@ -<<<<<<< HEAD import React, { Fragment, useEffect } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; @@ -47,47 +46,3 @@ const mapStateToProps = (state) => ({ }); export default connect(mapStateToProps, { getProfiles })(Profiles); -======= -import React from 'react'; -import { Link } from 'react-router-dom'; -import PropTypes from 'prop-types'; - -const ProfileItem = ({ - profile: { - user: { _id, name, avatar }, - status, - company, - location, - skills - } -}) => { - return ( -
- -
-

{name}

-

- {status} {company && at {company}} -

-

{location && {location}}

- - View Profile - -
- -
- ); -}; - -ProfileItem.propTypes = { - profile: PropTypes.object.isRequired -}; - -export default ProfileItem; ->>>>>>> cc38df43629d64ca77f694c971a13a026b3afcfb