diff --git a/src/components/blog/index.jsx b/src/components/blog/index.jsx index 0caae57..d817cb4 100644 --- a/src/components/blog/index.jsx +++ b/src/components/blog/index.jsx @@ -20,7 +20,7 @@ const displaySection = () => { } }; -const Blog = ({loading}) => { +const Blog = ({ loading }) => { const [articles, setArticles] = useState(null); useEffect(() => { @@ -152,13 +152,10 @@ const Blog = ({loading}) => {
{article.categories.map((category, index2) => (
- - - - {category} + #{category}
))}
@@ -180,19 +177,15 @@ const Blog = ({loading}) => {
-
    -
  • -
    -
    - {loading || !articles ? ( - skeleton({ width: 'w-28', height: 'h-8' }) - ) : ( - Recent Posts - )} -
    -
    -
  • -
+
+
+ {loading ? ( + skeleton({ width: 'w-28', height: 'h-8' }) + ) : ( + Recent Posts + )} +
+