Skip to content

Commit

Permalink
fix: Removed discovery description (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
josebui authored Dec 20, 2021
1 parent a531bda commit 5b7ef40
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
1 change: 0 additions & 1 deletion src/dashboard/components/Dashboard.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ test('Dashboard: Display landscapes discovery', async () => {
}))
await act(async () => render(<Dashboard />))
expect(screen.getByText(/Discover Landscapes in Terraso/i)).toBeInTheDocument()
expect(screen.getByText(/Terraso has 2 landscape partners./i)).toBeInTheDocument()
expect(screen.getByText(/Landscape Discovery 2/i)).toBeInTheDocument()
})
test('Dashboard: Display groups', async () => {
Expand Down
8 changes: 0 additions & 8 deletions src/landscape/components/LandscapesDashboardDiscoveryCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,6 @@ const LandscapesDashboardDiscoveryCard = props => {
<Typography variant="h5">
{t('landscape.dashboard_discovery_title')}
</Typography>
<Typography
variant="body1"
sx={{
marginTop: theme.spacing(2)
}}
>
{t('landscape.dashboard_discovery_description', { count: landscapes.length })}
</Typography>
<List>
{landscapes.slice(0, 5).map(landscape => (
<ListItem
Expand Down
3 changes: 1 addition & 2 deletions src/localization/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@
"list_column_members": "Members",
"list_column_actions": "Actions",
"list_empty": "No Landscapes",
"dashboard_discovery_title": "Discover Landscapes in Terraso",
"dashboard_discovery_description": "Terraso has {{count}} landscape partners."
"dashboard_discovery_title": "Discover Landscapes in Terraso"
},
"tool": {
"faq_title": "Tools FAQ",
Expand Down

0 comments on commit 5b7ef40

Please sign in to comment.