mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-26 04:17:14 +00:00
Validate missing prop types
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import config from '../../ezprofile.config';
|
||||
import { skeleton } from '../../helpers/utils';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
const Skill = ({ loading }) => {
|
||||
const renderSkeleton = () => {
|
||||
@@ -50,4 +51,8 @@ const Skill = ({ loading }) => {
|
||||
);
|
||||
};
|
||||
|
||||
Skill.propTypes = {
|
||||
loading: PropTypes.bool,
|
||||
};
|
||||
|
||||
export default Skill;
|
||||
|
||||
Reference in New Issue
Block a user