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:
parent
9cd1683572
commit
0d6ca9b979
12 changed files with 17666 additions and 17666 deletions
|
|
@ -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={{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue