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:
parent
2d02f88622
commit
df7d81ee1d
1 changed files with 0 additions and 2 deletions
|
|
@ -47,8 +47,6 @@ const JobSkillItem = React.forwardRef<HTMLDivElement, Props>(
|
|||
// Set up translation
|
||||
const t = useTranslations('common')
|
||||
const locale = (getCookie('NEXT_LOCALE') as string) || 'en'
|
||||
? router.locale
|
||||
: 'en'
|
||||
|
||||
// States: Component
|
||||
const [alertOpen, setAlertOpen] = useState(false)
|
||||
|
|
|
|||
Loading…
Reference in a new issue