Skip to content

Commit

Permalink
Temporarily disable "Punts d'oci i esport naturals" (#264)
Browse files Browse the repository at this point in the history
* Temporarily disable "Punts d'oci i esport naturals"

* chore: Auto-fix lint errors

* trigger ci

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
mauriciabad and github-actions[bot] authored Mar 26, 2024
1 parent efb7c76 commit 127916a
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/app/[locale]/(app)/explore/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,18 @@ const ExplorePage: FC<LocaleRouteParams> = async ({ params }) => {
type: 'place',
}))

groups.splice(1, 0, {
name: t('category-groups.routes'),
id: 9999999,
order: null,
categories: routeCategories.map((category) => ({
category,
highlight: [1, 2, 3, 5].includes(category.id),
})),
type: 'route',
})
groups
.filter((group) => group.id !== 2) // TODO: Temporarily disabled "Punts d'oci i esport naturals". Enable it later.
.splice(1, 0, {
name: t('category-groups.routes'),
id: 9999999,
order: null,
categories: routeCategories.map((category) => ({
category,
highlight: [1, 2, 3, 5].includes(category.id),
})),
type: 'route',
})

return (
<div className="pt-6">
Expand Down

0 comments on commit 127916a

Please sign in to comment.