From 22b011139d706a024b1f25fbf9bf3ff27df6003f Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Mon, 14 Apr 2025 15:29:45 -0700 Subject: [PATCH] IO-3066 Call partner refresh on shop change. --- .../src/components/profile-shops/profile-shops.container.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/components/profile-shops/profile-shops.container.jsx b/client/src/components/profile-shops/profile-shops.container.jsx index 007c0ddc7..fae2cf6b6 100644 --- a/client/src/components/profile-shops/profile-shops.container.jsx +++ b/client/src/components/profile-shops/profile-shops.container.jsx @@ -54,6 +54,9 @@ export function ProfileShopsContainer({ bodyshop, currentUser }) { //Force window refresh. + //Ping the new partner to refresh. + axios.post("http://localhost:1337/refresh"); + window.location.reload(); };