diff --git a/src/components/details/index.jsx b/src/components/details/index.jsx index 4d0f300..5a4e67c 100644 --- a/src/components/details/index.jsx +++ b/src/components/details/index.jsx @@ -12,11 +12,25 @@ import { FaGlobe, } from 'react-icons/fa'; import PropTypes from 'prop-types'; -import { useContext } from 'react'; +import { Fragment, useContext } from 'react'; import { LoadingContext } from '../../contexts/LoadingContext'; import { skeleton } from '../../helpers/utils'; import config from '../../ezprofile.config'; +const ListItem = ({ icon, title, value, link }) => { + return ( +
+ ); +}; + const Details = (props) => { const [loading] = useContext(LoadingContext); @@ -39,108 +53,78 @@ const Details = (props) => { return (