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:
parent
b371c50d23
commit
0a482c70fa
@ -44,6 +44,7 @@ const MyLayout = React.memo(({ children }: { children: React.ReactNode }) => {
|
|||||||
p === "/cart" ||
|
p === "/cart" ||
|
||||||
p.startsWith("/cart/") ||
|
p.startsWith("/cart/") ||
|
||||||
p === "/sellers" ||
|
p === "/sellers" ||
|
||||||
|
p === "/discounts" ||
|
||||||
p.startsWith("/profile");
|
p.startsWith("/profile");
|
||||||
// Auth pages get a full-width desktop canvas (so they can center their own
|
// Auth pages get a full-width desktop canvas (so they can center their own
|
||||||
// card) but no shopping header/footer.
|
// card) but no shopping header/footer.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user