From d9003bfd4a5382e7691dc366e6f2f489dd16fc29 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Fri, 17 Jul 2026 03:57:55 +0000
Subject: [PATCH 1/3] Initial plan
From 9b79aa8f8d80290cc037dcb429c84525b1a9b6e7 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Fri, 17 Jul 2026 04:00:14 +0000
Subject: [PATCH 2/3] Fix build prerender crash on shop product page
---
src/app/layout.tsx | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 3c90eea..d7e6d93 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -35,11 +35,11 @@ export default function RootLayout({
return (
- {COMING_SOON ? (
- children
- ) : (
-
-
+
+ {COMING_SOON ? (
+ children
+ ) : (
+
@@ -50,9 +50,9 @@ export default function RootLayout({
-
-
- )}
+
+ )}
+
);
From e28c264863ed1fe5be3c69091538b4f81be45176 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Fri, 17 Jul 2026 04:10:57 +0000
Subject: [PATCH 3/3] Scope CartProvider per branch to avoid widening re-render
boundary
---
src/app/layout.tsx | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index d7e6d93..d92c5c3 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -35,11 +35,11 @@ export default function RootLayout({
return (
-
- {COMING_SOON ? (
- children
- ) : (
-
+ {COMING_SOON ? (
+ {children}
+ ) : (
+
+
@@ -50,9 +50,9 @@ export default function RootLayout({
-
- )}
-
+
+
+ )}
);