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