From f1671aef2c13bba9e4de884ef37a01519dea185d Mon Sep 17 00:00:00 2001 From: Harkamal Randhawa Date: Wed, 15 Apr 2026 15:42:55 -0600 Subject: [PATCH 1/2] restore cart across devices --- web/context/CartContext.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/context/CartContext.js b/web/context/CartContext.js index f1c76220..f0511aaf 100644 --- a/web/context/CartContext.js +++ b/web/context/CartContext.js @@ -45,6 +45,12 @@ export function CartProvider({ children }) { } }, []); + useEffect(() => { + if (user?.storeId && !localStorage.getItem(STORE_KEY)) { + setStoreId(user.storeId); + } + }, [user, setStoreId]); + const refreshCart = useCallback(async () => { if (!token || !selectedStoreId) { setCart(null); -- 2.49.1 From 5a6a63eef6e4c7d6b4a200621c4f3722e8f594e0 Mon Sep 17 00:00:00 2001 From: Harkamal Randhawa Date: Wed, 15 Apr 2026 15:42:59 -0600 Subject: [PATCH 2/2] rebuild stripe key -- 2.49.1