Contact.jsx: Self-referencing <a href="/contact"> link on contact page #66
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#66
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
src/pages/Contact.jsxline 127 has a "Submit Another" button after form submission that links to/contactusing<a href="/contact">. This is on the Contact page itself, making it a self-referencing link. Additionally, it uses<a>instead of React Router's<Link>.While a self-link technically works (it reloads the page), it defeats React Router's client-side navigation and causes an unnecessary full page reload on a page the user is already on.
Fix
Two options:
<a href="/contact">with<Link to="/contact">for consistency, though still unnecessaryOption 1 is better UX — reset the form in-place without a page reload.
Labels