mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 15:47:53 -05:00
Fix lint issues in people grid component
This commit is contained in:
parent
b7b3123217
commit
e2da0b5250
1 changed files with 4 additions and 6 deletions
|
@ -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,9 +37,9 @@ 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
|
||||||
}))
|
}))
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue