Home.jsx: industry.href is undefined — Learn more buttons navigate to /industries/undefined #63

Closed
opened 2026-05-17 17:53:08 -05:00 by null · 0 comments
Owner

Bug Description

In src/pages/Home.jsx line 357, the industries section uses navigate(industry.href) for the "Learn more" button click handler. However, industry objects in src/data/industries.js only have an id property (e.g., healthcare, retail), not an href property.

Since industry.href is undefined, clicking any industry card's "Learn more" button navigates to /industries/undefined, which shows the "Industry Not Found" fallback page.

Fix

Change navigate(industry.href) to navigate('/industries/' + industry.id) or navigate(/industries/${industry.id}).

Labels

  • bug, frontend, P0 Critical
## Bug Description In `src/pages/Home.jsx` line 357, the industries section uses `navigate(industry.href)` for the "Learn more" button click handler. However, industry objects in `src/data/industries.js` only have an `id` property (e.g., `healthcare`, `retail`), not an `href` property. Since `industry.href` is `undefined`, clicking any industry card's "Learn more" button navigates to `/industries/undefined`, which shows the "Industry Not Found" fallback page. ## Fix Change `navigate(industry.href)` to `navigate('/industries/' + industry.id)` or `navigate(`/industries/${industry.id}`)`. ## Labels - bug, frontend, P0 Critical
null added the
P0 Critical
bug
frontend
labels 2026-05-17 17:53:08 -05:00
null closed this issue 2026-05-17 18:04:28 -05:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: null/Queue-North-Website#63
No description provided.