Skip to content

Commit

Permalink
fix: top section
Browse files Browse the repository at this point in the history
  • Loading branch information
tomquirk committed Jan 23, 2024
1 parent 3a697d5 commit c7edad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Home/TopSection/TopSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function TopSection() {
const { data: backupProjects } = useDBProjectsQuery({
ids: [FIRST_PROJECT, ...BACKUP_PROJECTS],
})
const firstProject = backupProjects?.[0] // hardcore the first project in the list
const firstProject = backupProjects?.find(p => p.id === FIRST_PROJECT) // hardcore the first project in the list

const remainderProjectCount =
DEFAULT_TRENDING_PROJECTS_LIMIT - (trendingProjects?.length ?? 0)
Expand Down

2 comments on commit c7edad1

@vercel
Copy link

@vercel vercel bot commented on c7edad1 Jan 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

juice-interface – ./

juice-interface-peel.vercel.app
juice-interface-git-main-peel.vercel.app

@vercel
Copy link

@vercel vercel bot commented on c7edad1 Jan 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.