From 0a482c70fabbab9e6527c8ef192fab2015a46129 Mon Sep 17 00:00:00 2001 From: Arda Samadi Date: Thu, 9 Jul 2026 11:41:09 +0330 Subject: [PATCH] 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 --- app/components/MyLayout.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/components/MyLayout.tsx b/app/components/MyLayout.tsx index d7354af..641a314 100644 --- a/app/components/MyLayout.tsx +++ b/app/components/MyLayout.tsx @@ -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.