Merge pull request #1863 from LLK/hotfix/remove-recent-row

[Master] remove recent projects row
This commit is contained in:
Ray Schamp 2018-04-23 16:39:53 -04:00 committed by GitHub
commit 773b77d5e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 17 deletions

View file

@ -4,7 +4,6 @@
"splash.projectsCuratedBy": "Projects Curated by {curatorId}",
"splash.scratchDesignStudioTitle": "Scratch Design Studio",
"splash.visitTheStudio": "Visit the studio",
"splash.recentlySharedProjects": "Recently Shared Projects",
"splash.projectsByScratchersFollowing": "Projects by Scratchers I'm Following",
"splash.projectsLovedByScratchersFollowing": "Projects Loved by Scratchers I'm Following",
"splash.projectsInStudiosFollowing": "Projects in Studios I'm Following",

View file

@ -289,20 +289,6 @@ class SplashPresentation extends React.Component { // eslint-disable-line react/
);
}
if (this.props.user &&
this.props.featuredGlobal.community_newest_projects &&
this.props.featuredGlobal.community_newest_projects.length > 0) {
rows.push(
<Box
key="community_newest_projects"
title={this.props.intl.formatMessage({id: 'splash.recentlySharedProjects'})}
>
<LegacyCarousel items={this.props.featuredGlobal.community_newest_projects} />
</Box>
);
}
if (this.props.sharedByFollowing && this.props.sharedByFollowing.length > 0) {
rows.push(
<Box
@ -524,7 +510,6 @@ SplashPresentation.propTypes = {
community_featured_studios: PropTypes.array,
curator_top_projects: PropTypes.array,
scratch_design_studio: PropTypes.array,
community_newest_projects: PropTypes.array,
community_most_remixed_projects: PropTypes.array,
community_most_loved_projects: PropTypes.array
}),

View file

@ -183,7 +183,6 @@ Splash.propTypes = {
community_featured_studios: PropTypes.array,
curator_top_projects: PropTypes.array,
scratch_design_studio: PropTypes.array,
community_newest_projects: PropTypes.array,
community_most_remixed_projects: PropTypes.array,
community_most_loved_projects: PropTypes.array
}),