diff --git a/episode1/src/components/ContactsApp.js b/episode1/src/components/ContactsApp.js index 10741e6..03a5ac5 100644 --- a/episode1/src/components/ContactsApp.js +++ b/episode1/src/components/ContactsApp.js @@ -13,12 +13,12 @@ class ContactsApp extends Component { static propTypes = { contacts: PropTypes.arrayOf( PropTypes.shape({ - thumbnail: React.PropTypes.string.isRequired, - name: React.PropTypes.string.isRequired, - email: React.PropTypes.string + thumbnail: PropTypes.string.isRequired, + name: PropTypes.string.isRequired, + email: PropTypes.string }) ).isRequired, - loadingTime: PropTypes.number + loadingTime: PropTypes.string } handleUserInput = (searchTerm) => {