rename show to list

fall inline with rest conventions
This commit is contained in:
Berkeley Martinez
2015-08-25 12:25:30 -07:00
parent fb2cce826e
commit bfd4980e5d
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
import React, { cloneElement, PropTypes } from 'react'; import React, { cloneElement, PropTypes } from 'react';
import { contain } from 'thundercats-react'; import { contain } from 'thundercats-react';
import { Button, Jumbotron, Row } from 'react-bootstrap'; import { Button, Jumbotron, Row } from 'react-bootstrap';
import ShowJobs from './Show.jsx'; import ListJobs from './List.jsx';
export default contain( export default contain(
{ {
@ -15,9 +15,9 @@ export default contain(
jobs: PropTypes.array jobs: PropTypes.array
}, },
renderShow(jobs) { renderList(jobs) {
return ( return (
<ShowJobs jobs={ jobs }/> <ListJobs jobs={ jobs }/>
); );
}, },
@ -53,7 +53,7 @@ export default contain(
</Row> </Row>
<Row> <Row>
{ this.renderChild(children, jobs) || { this.renderChild(children, jobs) ||
this.renderShow(jobs) } this.renderList(jobs) }
</Row> </Row>
</div> </div>
); );

View File

@ -7,7 +7,7 @@ export default contain(
{ {
}, },
React.createClass({ React.createClass({
displayName: 'ShowJobs', displayName: 'ListJobs',
propTypes: { propTypes: {
jobs: PropTypes.array jobs: PropTypes.array