Home.jsx: industry.href is undefined — Learn more buttons navigate to /industries/undefined #63
Labels
No Label
P0 Critical
P1 High
P2 Medium
P3 Low
accessibility
backend
bug
content
data-integrity
enhancement
frontend
infra
integration
owner
owner-input
performance
performance
phase-7
phase-8
security
seo
ui
ux
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/Queue-North-Website#63
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug Description
In
src/pages/Home.jsxline 357, the industries section usesnavigate(industry.href)for the "Learn more" button click handler. However, industry objects insrc/data/industries.jsonly have anidproperty (e.g.,healthcare,retail), not anhrefproperty.Since
industry.hrefisundefined, 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)tonavigate('/industries/' + industry.id)ornavigate(/industries/${industry.id}).Labels