diff --git a/react/components/AboutPage/index.js b/react/components/AboutPage/index.jsx similarity index 100% rename from react/components/AboutPage/index.js rename to react/components/AboutPage/index.jsx diff --git a/react/components/AssetPreview/index.js b/react/components/AssetPreview/index.jsx similarity index 100% rename from react/components/AssetPreview/index.js rename to react/components/AssetPreview/index.jsx diff --git a/react/components/ErrorPage/index.js b/react/components/ErrorPage/index.jsx similarity index 100% rename from react/components/ErrorPage/index.js rename to react/components/ErrorPage/index.jsx diff --git a/react/components/FourOhFourPage/index.js b/react/components/FourOhFourPage/index.jsx similarity index 100% rename from react/components/FourOhFourPage/index.js rename to react/components/FourOhFourPage/index.jsx diff --git a/react/components/GAListener/index.js b/react/components/GAListener/index.jsx similarity index 100% rename from react/components/GAListener/index.js rename to react/components/GAListener/index.jsx diff --git a/react/components/HomePage/index.js b/react/components/HomePage/index.jsx similarity index 100% rename from react/components/HomePage/index.js rename to react/components/HomePage/index.jsx diff --git a/react/components/AssetDisplay/index.js b/react/containers/AssetDisplay/index.js similarity index 100% rename from react/components/AssetDisplay/index.js rename to react/containers/AssetDisplay/index.js diff --git a/react/components/AssetDisplay/view.jsx b/react/containers/AssetDisplay/view.jsx similarity index 97% rename from react/components/AssetDisplay/view.jsx rename to react/containers/AssetDisplay/view.jsx index 6a8b96e8..0bf77c6d 100644 --- a/react/components/AssetDisplay/view.jsx +++ b/react/containers/AssetDisplay/view.jsx @@ -1,5 +1,5 @@ import React from 'react'; -import ProgressBar from 'components/ProgressBar'; +import ProgressBar from 'components/ProgressBar/index'; import { LOCAL_CHECK, UNAVAILABLE, ERROR, AVAILABLE } from 'constants/asset_display_states'; class AssetDisplay extends React.Component { diff --git a/react/components/AssetInfo/index.js b/react/containers/AssetInfo/index.js similarity index 100% rename from react/components/AssetInfo/index.js rename to react/containers/AssetInfo/index.js diff --git a/react/components/AssetInfo/view.jsx b/react/containers/AssetInfo/view.jsx similarity index 100% rename from react/components/AssetInfo/view.jsx rename to react/containers/AssetInfo/view.jsx diff --git a/react/components/AssetTitle/index.js b/react/containers/AssetTitle/index.js similarity index 88% rename from react/components/AssetTitle/index.js rename to react/containers/AssetTitle/index.js index 537d6948..0797513b 100644 --- a/react/components/AssetTitle/index.js +++ b/react/containers/AssetTitle/index.js @@ -3,9 +3,7 @@ import View from './view'; import { selectAsset } from 'selectors/show'; const mapStateToProps = ({ show }) => { - // select title const { claimData: { title } } = selectAsset(show); - // return props return { title, }; diff --git a/react/components/AssetTitle/view.jsx b/react/containers/AssetTitle/view.jsx similarity index 100% rename from react/components/AssetTitle/view.jsx rename to react/containers/AssetTitle/view.jsx diff --git a/react/containers/ChannelClaimsDisplay/view.jsx b/react/containers/ChannelClaimsDisplay/view.jsx index c714a178..742df849 100644 --- a/react/containers/ChannelClaimsDisplay/view.jsx +++ b/react/containers/ChannelClaimsDisplay/view.jsx @@ -24,7 +24,7 @@ class ChannelClaimsDisplay extends React.Component { render () { const { channel: { claimsData: { claims, currentPage, totalPages } } } = this.props; return ( -