Skip to content

Commit

Permalink
fix: use previous site-app variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusandra committed Dec 2, 2024
1 parent d586455 commit e97543a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/site-apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class SiteApps {
for (const { id, url } of response['siteApps']) {
// TODO: if we have opted out and "type" is "site_destination", ignore it... but do include "site_app" types
this.appsLoading.add(id)
assignableWindow[`__$$ph_site_app_${id}_posthog`] = this.instance
assignableWindow[`__$$ph_site_app_${id}`] = this.instance
assignableWindow[`__$$ph_site_app_${id}_missed_invocations`] = () => this.missedInvocations
assignableWindow[`__$$ph_site_app_${id}_callback`] = () => {
this.appsLoading.delete(id)
Expand Down

0 comments on commit e97543a

Please sign in to comment.