next.js
d1a9f515 - fix(i18n-routing): address PR review comments

Commit
122 days ago
fix(i18n-routing): address PR review comments - Fix locale extraction in not-found.tsx using getFirstPathSegment() helper instead of buggy regex that captured domain from URLs - Add explanatory comment to get-error-dictionary.ts about the trade-off of duplicating error strings for client bundle reliability - Update isValidLocale() to accept string | undefined for cleaner usage
Author
Parents
Loading