We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e505c0e commit 447b766Copy full SHA for 447b766
apps/start/src/routes/_app.$organizationId.tsx
@@ -136,6 +136,22 @@ function Component() {
136
</LinkButton>
137
</Alert>
138
)}
139
+ {organization.subscriptionPeriodEventsCountExceededAt &&
140
+ organization.isActive && (
141
+ <Alert
142
+ title="Events limit exceeded"
143
+ description={`Your subscription has exceeded the limit on ${format(organization.subscriptionPeriodEventsCountExceededAt, 'PPP')}`}
144
+ >
145
+ <LinkButton
146
+ to="/$organizationId/billing"
147
+ params={{
148
+ organizationId: organizationId,
149
+ }}
150
151
+ Upgrade now
152
+ </LinkButton>
153
+ </Alert>
154
+ )}
155
<Outlet />
156
<SupporterPrompt />
157
</>
0 commit comments