mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Merge pull request #1863 from LLK/hotfix/remove-recent-row
[Master] remove recent projects row
This commit is contained in:
commit
773b77d5e8
3 changed files with 0 additions and 17 deletions
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
}),
|
||||
|
|
|
@ -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
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue