Skip to content

Commit

Permalink
Merge pull request #2234 from StoDevX/remove-embedFeaturedImage
Browse files Browse the repository at this point in the history
Remove embedFeaturedImage prop from News
  • Loading branch information
drewvolz authored Jan 24, 2018
2 parents 49808e6 + 9b04eb0 commit d8889a2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion source/views/news/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export default TabNavigator(
OlevilleNewsView: {
screen: ({navigation}) => (
<NewsContainer
embedFeaturedImage={true}
mode="wp-json"
name="Oleville"
navigation={navigation}
Expand Down
2 changes: 0 additions & 2 deletions source/views/news/news-container.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ type Props = TopLevelViewPropsType & {
name: string,
url: string,
query?: Object,
embedFeaturedImage?: boolean,
mode: 'rss' | 'wp-json',
thumbnail: number,
}
Expand Down Expand Up @@ -92,7 +91,6 @@ export default class NewsContainer extends React.PureComponent<Props, State> {

return (
<NewsList
embedFeaturedImage={this.props.embedFeaturedImage}
entries={this.state.entries}
loading={this.state.refreshing}
mode={this.props.mode}
Expand Down
1 change: 0 additions & 1 deletion source/views/news/news-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ type Props = TopLevelViewPropsType & {
onRefresh: () => any,
entries: StoryType[],
loading: boolean,
embedFeaturedImage: ?boolean,
thumbnail: number,
}

Expand Down

0 comments on commit d8889a2

Please sign in to comment.