Fix broken locale assignment in JobSkillItem

- Remove broken ternary operator referencing undefined router.locale
- Fix syntax error from incomplete merge or migration
- Locale is correctly retrieved from NEXT_LOCALE cookie

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Justin Edmund 2025-09-02 21:36:13 -07:00
parent 2d02f88622
commit df7d81ee1d

View file

@ -47,8 +47,6 @@ const JobSkillItem = React.forwardRef<HTMLDivElement, Props>(
// Set up translation // Set up translation
const t = useTranslations('common') const t = useTranslations('common')
const locale = (getCookie('NEXT_LOCALE') as string) || 'en' const locale = (getCookie('NEXT_LOCALE') as string) || 'en'
? router.locale
: 'en'
// States: Component // States: Component
const [alertOpen, setAlertOpen] = useState(false) const [alertOpen, setAlertOpen] = useState(false)