diff --git a/frontend/src/Widget.jsx b/frontend/src/Widget.jsx index 1e3a6ff..674c031 100644 --- a/frontend/src/Widget.jsx +++ b/frontend/src/Widget.jsx @@ -255,7 +255,7 @@ function Widget() { widgetApi.current = new WidgetApi(); - widgetApi.on('ready', (e) => { + widgetApi.current.on('ready', (e) => { console.log('WIDGET READY', e); }); // window.widgetApiPromise.then((api) => {