Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(subscription): Invalidate user info after trial signup (#1107)

teo1f33edaf70c6
diff --git a/js/app/packages/app/component/Root.tsx b/js/app/packages/app/component/Root.tsx
index 272422624f..383e5499c8 100644
--- a/js/app/packages/app/component/Root.tsx
+++ b/js/app/packages/app/component/Root.tsx
@@ -148,6 +148,8 @@ function BasePathComponent() {
track(TrackingEvents.SUBSCRIPTION.SUCCESS, {
type: type ?? undefined,
});
+ // Invalidate user info to refresh trial status and subscription data
+ invalidateUserInfo();
}
if (searchParams.upgrade === 'true') {