change url param name to "subdomain"

This commit is contained in:
2025-10-31 13:56:20 +03:00
parent 42d0b2cacf
commit 3dddc78dda
24 changed files with 89 additions and 116 deletions

View File

@@ -13,7 +13,7 @@ export function MenuFooter() {
const { themeName } = useAppSelector((state) => state.theme);
const { isMobile, isTablet } = useBreakPoint();
const { t } = useTranslation();
const { id } = useParams();
const { subdomain } = useParams();
const totalItems = items.reduce((sum, item) => sum + item.quantity, 0);
@@ -37,7 +37,7 @@ export function MenuFooter() {
}}
>
<Link
to={`/${id}/cart`}
to={`/${subdomain}/cart`}
style={{
width: "100%",
padding: "0 16px",