From bfd4980e5dac11e700200d483b0473e731f23523 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Tue, 25 Aug 2015 12:25:30 -0700 Subject: [PATCH] rename show to list fall inline with rest conventions --- common/app/routes/Jobs/components/Jobs.jsx | 8 ++++---- common/app/routes/Jobs/components/{Show.jsx => List.jsx} | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) rename common/app/routes/Jobs/components/{Show.jsx => List.jsx} (98%) diff --git a/common/app/routes/Jobs/components/Jobs.jsx b/common/app/routes/Jobs/components/Jobs.jsx index 7f31a329dd..4b37571eb2 100644 --- a/common/app/routes/Jobs/components/Jobs.jsx +++ b/common/app/routes/Jobs/components/Jobs.jsx @@ -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 ( - + ); }, @@ -53,7 +53,7 @@ export default contain( { this.renderChild(children, jobs) || - this.renderShow(jobs) } + this.renderList(jobs) } ); diff --git a/common/app/routes/Jobs/components/Show.jsx b/common/app/routes/Jobs/components/List.jsx similarity index 98% rename from common/app/routes/Jobs/components/Show.jsx rename to common/app/routes/Jobs/components/List.jsx index 321e00cd02..5f96291b49 100644 --- a/common/app/routes/Jobs/components/Show.jsx +++ b/common/app/routes/Jobs/components/List.jsx @@ -7,7 +7,7 @@ export default contain( { }, React.createClass({ - displayName: 'ShowJobs', + displayName: 'ListJobs', propTypes: { jobs: PropTypes.array