Fix lint issues in people grid component

This commit is contained in:
Karishma Chadha 2020-10-01 17:26:19 -04:00 committed by seotts
parent b7b3123217
commit e2da0b5250

View file

@ -1,5 +1,3 @@
const classNames = require('classnames');
const omit = require('lodash.omit');
const PropTypes = require('prop-types'); const PropTypes = require('prop-types');
const React = require('react'); const React = require('react');
const Avatar = require('../../components/avatar/avatar.jsx'); const Avatar = require('../../components/avatar/avatar.jsx');
@ -39,10 +37,10 @@ const PeopleGrid = props => (
PeopleGrid.propTypes = { PeopleGrid.propTypes = {
people: PropTypes.arrayOf(PropTypes.shape({ people: PropTypes.arrayOf(PropTypes.shape({
userName: PropTypes.string, name: PropTypes.string,
userId: PropTypes.number, userId: PropTypes.number,
name: PropTypes.string userName: PropTypes.string
})) }))
}; };
module.exports = PeopleGrid; module.exports = PeopleGrid;