mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 04:17:13 +00:00
Validate missing prop types
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { getDevtoArticle, getMediumArticle } from 'article-api';
|
||||
import moment from 'moment';
|
||||
import { Fragment, useEffect, useState } from 'react';
|
||||
import { CgHashtag } from 'react-icons/cg';
|
||||
import config from '../../ezprofile.config';
|
||||
import { ga, skeleton } from '../../helpers/utils';
|
||||
import LazyImage from '../lazy-image';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
const displaySection = () => {
|
||||
if (
|
||||
@@ -201,4 +201,8 @@ const Blog = ({ loading }) => {
|
||||
);
|
||||
};
|
||||
|
||||
Blog.propTypes = {
|
||||
loading: PropTypes.bool,
|
||||
};
|
||||
|
||||
export default Blog;
|
||||
|
||||
Reference in New Issue
Block a user