π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
feat: cancel
Nevo Davida36eada0aaf2
diff --git a/apps/frontend/src/components/billing/main.billing.component.tsx b/apps/frontend/src/components/billing/main.billing.component.tsxindex bb8d067a2..2b389048e 100644--- a/apps/frontend/src/components/billing/main.billing.component.tsx+++ b/apps/frontend/src/components/billing/main.billing.component.tsx@@ -332,9 +332,9 @@ export const MainBillingComponent: FC<{!!queryParams.get('finishTrial'));- const [subscription, setSubscription] = useState<SubscriptionWithPlatform | undefined>(- sub- );+ const [subscription, setSubscription] = useState<+ SubscriptionWithPlatform | undefined+ >(sub);const [loading, setLoading] = useState<boolean>(false);// which button started the request, so only that one shows a spinnerconst [clicked, setClicked] = useState('');@@ -421,7 +421,8 @@ export const MainBillingComponent: FC<{`Are you sure you want to cancel your subscription?${messages.join(', ')}`,'Yes, cancel',- 'Cancel Subscription'+ 'Cancel Subscription',+ 'No, keep it'))) {const checkDiscount = await (