import { AiFillGithub } from "react-icons/ai"; import { useSelector } from "react-redux"; import config from "../config"; import { skeleton } from "../helpers/utils"; const Education = () => { const loading = useSelector(state => state.loading); const renderSkeleton = () => { let array = []; for (let index = 0; index < 2; index++) { array.push((
  • {skeleton({ width: 'w-48', height: 'h-4', className: "mb-2" })}
    {skeleton({ width: 'w-32', height: 'h-4', className: "mb-2" })}
    {skeleton({ width: 'w-32', height: 'h-3' })}
  • )) } return array; } return ( <> { (typeof config.education !== 'undefined' && config.education.length !== 0) && (
    ) } ) } export default Education;