Validate missing prop types

This commit is contained in:
Ariful Alam
2022-03-20 01:36:43 +06:00
parent a2ada305a7
commit ec458191fb
11 changed files with 63 additions and 8 deletions

View File

@@ -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;