fix: multiple components using wrong locale for ProductCard links
- homepage page.tsx was passing productLocale (SR/EN) instead of locale (sr/en) to ProductCard - ProductShowcase default locale was "SR" instead of "sr" - ProductBenefits default locale was "SR" instead of "sr" These caused URLs like /en/SR/products/... when clicking products
This commit is contained in:
@@ -7,7 +7,7 @@ interface ProductBenefitsProps {
|
||||
locale?: string;
|
||||
}
|
||||
|
||||
export default function ProductBenefits({ locale = "SR" }: ProductBenefitsProps) {
|
||||
export default function ProductBenefits({ locale = "sr" }: ProductBenefitsProps) {
|
||||
const t = useTranslations("ProductBenefits");
|
||||
|
||||
const benefits = [
|
||||
|
||||
Reference in New Issue
Block a user