Skip to content

Commit

Permalink
remove propType error on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Jacquin committed Jun 9, 2019
1 parent b3ec9f9 commit 2b3b304
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';

import { bestNewItemShape } from '..';

import styles from './styles.scss';

const BestNewMusicCard = ({
Expand Down Expand Up @@ -31,7 +29,11 @@ const BestNewMusicCard = ({
};

BestNewMusicCard.propTypes = {
item: bestNewItemShape,
item: PropTypes.shape({
title: PropTypes.string,
artist: PropTypes.string,
thumbnail: PropTypes.string
}),
onClick: PropTypes.func
};

Expand Down

0 comments on commit 2b3b304

Please sign in to comment.