From df7d81ee1d5993a6589f61e986569afb963a6b6f Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Tue, 2 Sep 2025 21:36:13 -0700 Subject: [PATCH] Fix broken locale assignment in JobSkillItem MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- components/job/JobSkillItem/index.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/job/JobSkillItem/index.tsx b/components/job/JobSkillItem/index.tsx index 8f8aebd7..2da276a8 100644 --- a/components/job/JobSkillItem/index.tsx +++ b/components/job/JobSkillItem/index.tsx @@ -47,8 +47,6 @@ const JobSkillItem = React.forwardRef( // 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)