fix(discounts): enable desktop chrome for /discounts

/discounts was missing from MyLayout's isDesktopReady allowlist, so on desktop it
stayed in the narrow mobile column with no desktop header/footer. Add it so it
gets the full-width desktop canvas; the page's lg:max-w container + Mondrian
4-column masonry then render like /sellers.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Arda Samadi 2026-07-09 11:41:09 +03:30
parent b371c50d23
commit 0a482c70fa

View File

@ -44,6 +44,7 @@ const MyLayout = React.memo(({ children }: { children: React.ReactNode }) => {
p === "/cart" ||
p.startsWith("/cart/") ||
p === "/sellers" ||
p === "/discounts" ||
p.startsWith("/profile");
// Auth pages get a full-width desktop canvas (so they can center their own
// card) but no shopping header/footer.