Bug
Discovery page language filter defaults to "All languages" instead of "English" as specified.
Fix
In src/app/page.tsx, change the language fallback from "all" to "English":
- const lang = rawLang && (LANGUAGES as readonly string[]).includes(rawLang) ? rawLang : "all";
+ const lang = rawLang && (LANGUAGES as readonly string[]).includes(rawLang) ? rawLang : "English";
In src/components/GenreLanguageFilter.tsx, the <LanguageFilter> defaultValue is already driven by active prop, so no change needed there — it will automatically show "English" when the default kicks in.
Files to modify
src/app/page.tsx — change language fallback to "English"
Acceptance criteria
Bug
Discovery page language filter defaults to "All languages" instead of "English" as specified.
Fix
In
src/app/page.tsx, change the language fallback from"all"to"English":In
src/components/GenreLanguageFilter.tsx, the<LanguageFilter>defaultValueis already driven byactiveprop, so no change needed there — it will automatically show "English" when the default kicks in.Files to modify
src/app/page.tsx— change language fallback to"English"Acceptance criteria
langparam in URL)npm run typecheckpasses