hensei-web/components
Justin Edmund fa23c13db1
Modernize Link components to Next.js 13+ patterns (#431)
## Summary
- Removed legacy behavior from Link components
- Fixed onClick warnings with next-intl Link wrapper
- Fixed tab switching on party page
- Fixed JobSkillItem router undefined error

## Changes
- Removed `legacyBehavior` prop and nested `<a>` tags from all Link
components
- Updated GridTabsCompact to use next-intl's Link wrapper correctly
- Fixed PartyPageClient tab switching by mapping string values to
GridType enum
- Removed broken locale assignment code in JobSkillItem

## Test plan
- [x] No more console warnings about onClick and legacyBehavior
- [x] Tab switching works correctly on party page
- [x] No router undefined errors in JobSkillItem
- [x] All navigation links work as expected

🤖 Generated with [Claude Code](https://claude.ai/code)

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-03 17:07:09 -07:00
..
about Modernize Link components to Next.js 13+ patterns (#431) 2025-09-03 17:07:09 -07:00
auth Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
character Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
common Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
dialogs Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
ElementToggle Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
ErrorSection Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
extra Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
filters Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
head Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
Header Modernize Link components to Next.js 13+ patterns (#431) 2025-09-03 17:07:09 -07:00
HovercardHeader Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
job Modernize Link components to Next.js 13+ patterns (#431) 2025-09-03 17:07:09 -07:00
LanguageSwitch Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
Layout Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
mastery Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
MentionList Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
party Modernize Link components to Next.js 13+ patterns (#431) 2025-09-03 17:07:09 -07:00
raids Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
reps Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
search Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
summon Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
toasts Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
uncap Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00
weapon Fix i18n migration to next-intl (#430) 2025-09-03 16:25:59 -07:00