Fix internal navigation links: add /kitchen/ prefix to all bare hrefs

Bare <a href="/invoice/..."> tags bypass React Router basename, causing
hard navigations to absolute paths with no NPM route. Added /kitchen/
prefix to all internal href values across 12 components.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-12 20:11:41 +00:00
parent 9cd1683572
commit 0d6ca9b979
12 changed files with 17666 additions and 17666 deletions

View file

@ -388,7 +388,7 @@ export default function LineItemHistoryModal({
{data.description || '-'}
</span>
<a
href={`/invoice/${point.invoice_id}`}
href={`/kitchen/invoice/${point.invoice_id}`}
target="_blank"
rel="noopener noreferrer"
style={{