fix: comments

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-11-11 11:03:28 +01:00
parent 77df6dc638
commit b72cf2dfa0
3 changed files with 6 additions and 6 deletions

View File

@@ -87,7 +87,7 @@ export default function BillingPrompt({
op.track('billing_prompt_viewed', {
type,
});
}, []);
}, [type]);
const price = bestProductFit
? new Intl.NumberFormat('en-US', {

View File

@@ -37,9 +37,9 @@ export default function BillingSuccess() {
Subscription updated successfully
</h2>
<p className="text-center mb-12 max-w-md text-base leading-normal">
Thanks you for your purchase! You have now full access to OpenPanel.
If you have any questions or feedback, please don't hesitate to
contact us.
Thank you for your purchase! You have now full access to OpenPanel. If
you have any questions or feedback, please don't hesitate to contact
us.
</p>
</div>
</ModalContent>

View File

@@ -272,8 +272,8 @@ export default function SelectBillingPlan({
: 0;
const isProductDisabled =
limit > 0 &&
organization.subscriptionPeriodEventsCount >= limit &&
(limit > 0 &&
organization.subscriptionPeriodEventsCount >= limit) ||
!!product.disabled;
return (