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,5 @@
|
||||
import PropTypes from 'prop-types';
|
||||
import { skeleton } from '../../helpers/utils';
|
||||
import { fallbackImage, skeleton } from '../../helpers/utils';
|
||||
import LazyImage from '../lazy-image';
|
||||
|
||||
const AvatarCard = ({ profile, loading }) => {
|
||||
@@ -54,6 +54,7 @@ const AvatarCard = ({ profile, loading }) => {
|
||||
|
||||
AvatarCard.propTypes = {
|
||||
profile: PropTypes.object,
|
||||
loading: PropTypes.bool,
|
||||
};
|
||||
|
||||
export default AvatarCard;
|
||||
|
||||
Reference in New Issue
Block a user