Open Chromoprotein opened 2 weeks ago
Build is failing since NavbarDesktop.stories.tsx is missing some NavbarProps.
The LangSwitcher test is failing to run. You can run tests with: npm run test:watch
to make sure they work.
I fixed the test, and the checks pass now.
📄 Pull Request Overview
Issue Number: 211
🔧 Changes Made
📝 Additional Information
Problem: the test "falls back to default language when current language is not in options" fails. If the user types for example altzone.fi/es, it does switch to a supported language, but the incorrect language tag stays in the url, e.g. altzone.fi/en/es, causing the error page to be displayed.