From b7a880322fdaf9b88e3cf0c0ea3b5daec25c44fb Mon Sep 17 00:00:00 2001 From: Ladd Hoffman Date: Thu, 25 Apr 2024 17:46:35 -0500 Subject: [PATCH] set parent --- frontend/src/Widget.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Widget.jsx b/frontend/src/Widget.jsx index 23716d5..9f94ff5 100644 --- a/frontend/src/Widget.jsx +++ b/frontend/src/Widget.jsx @@ -255,7 +255,7 @@ function Widget() { useEffect(() => { console.log('window.location', window.location); - widgetApi.current = new WidgetApi('50aaf929-a90d-4507-9ecc-cd0620d1c780'); + widgetApi.current = new WidgetApi('50aaf929-a90d-4507-9ecc-cd0620d1c780', window.parent); console.log('widget api', widgetApi.current);