diff --git a/src/App.js b/src/App.js index 8f68c0c..e55aa10 100644 --- a/src/App.js +++ b/src/App.js @@ -1,5 +1,5 @@ import axios from "axios"; -import { Fragment, memo, useCallback, useEffect, useState } from "react"; +import { Fragment, useCallback, useEffect, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; import AvatarCard from "./components/AvatarCard"; import ErrorPage from "./components/ErrorPage"; @@ -92,7 +92,7 @@ function App() { }, [dispatch]) useEffect(() => { - loadData(); + // loadData(); }, [loadData]) return ( @@ -160,4 +160,4 @@ function App() { ); } -export default memo(App); +export default App; diff --git a/src/components/Blog.js b/src/components/Blog.js index d9dfcc5..d22c9d0 100644 --- a/src/components/Blog.js +++ b/src/components/Blog.js @@ -1,6 +1,6 @@ import { getDevtoArticle, getMediumArticle } from "article-api"; import moment from "moment"; -import { memo, useEffect, useState } from "react"; +import { useEffect, useState } from "react"; import { CgHashtag } from 'react-icons/cg'; import config from "../config"; import { skeleton } from "../helpers/utils"; @@ -105,4 +105,4 @@ const Blog = () => { ) } -export default memo(Blog); \ No newline at end of file +export default Blog; \ No newline at end of file diff --git a/src/components/Education.js b/src/components/Education.js index a1f295e..d09897f 100644 --- a/src/components/Education.js +++ b/src/components/Education.js @@ -1,5 +1,6 @@ import { useSelector } from "react-redux"; import config from "../config"; +import { GoPrimitiveDot } from 'react-icons/go'; import { skeleton } from "../helpers/utils"; const Education = () => { @@ -10,17 +11,20 @@ const Education = () => { 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-2', height: 'h-2', className: "mr-2" })}
    - {skeleton({ width: 'w-32', height: 'h-3' })} +
    +
    + {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' })} +
  • @@ -36,11 +40,15 @@ const Education = () => { (typeof config.education !== 'undefined' && config.education.length !== 0) && (
    -