diff --git a/apps/start/src/routes/_app.$organizationId.$projectId.settings._tabs.widgets.tsx b/apps/start/src/routes/_app.$organizationId.$projectId.settings._tabs.widgets.tsx index becf57a9..f62ef880 100644 --- a/apps/start/src/routes/_app.$organizationId.$projectId.settings._tabs.widgets.tsx +++ b/apps/start/src/routes/_app.$organizationId.$projectId.settings._tabs.widgets.tsx @@ -148,11 +148,15 @@ function RealtimeWidgetSection({ countries: true, paths: false, }; - const [options, setOptions] = useState( (widget?.options as IRealtimeWidgetOptions) || defaultOptions, ); + // Create a checksum based on URL and current options to force iframe reload + const widgetChecksum = widgetUrl + ? btoa(JSON.stringify(Object.values(options))) + : null; + // Update local options when widget data changes useEffect(() => { if (widget?.options) { @@ -250,7 +254,8 @@ function RealtimeWidgetSection({

Preview