Description
The "delete candidate" confirmation modal looks and reads differently depending on
where it's triggered from:
- Candidates list page (
/candidates): simple modal, no icon, title reads
"Delete this candidate?", confirm button reads "Delete"
- Candidate detail page (
/candidates/:id): modal has a trash icon in a circular
badge, title reads "Delete candidate?", confirm button reads "Delete Permanently"
Steps to Reproduce
- Go to
/candidates → click Delete on any row → note the modal style
- Go to a candidate's detail page (
/candidates/:id) → click Delete → note the
different modal style
Expected Behavior
Both entry points should render the same CandidateDeleteDialog component with the
same title, description, and button label.
Component
frontend/app/(dashboard)/candidates/_components/candidate-delete-dialog.tsx

Description
The "delete candidate" confirmation modal looks and reads differently depending on
where it's triggered from:
/candidates): simple modal, no icon, title reads"Delete this candidate?", confirm button reads "Delete"
/candidates/:id): modal has a trash icon in a circularbadge, title reads "Delete candidate?", confirm button reads "Delete Permanently"
Steps to Reproduce
/candidates→ click Delete on any row → note the modal style/candidates/:id) → click Delete → note thedifferent modal style
Expected Behavior
Both entry points should render the same
CandidateDeleteDialogcomponent with thesame title, description, and button label.
Component
frontend/app/(dashboard)/candidates/_components/candidate-delete-dialog.tsx