π OpenHands: AI-Driven Development
fix(frontend): buying credits does not work on staging (#11873)
Hiep Leeaea8b3ce14d
diff --git a/frontend/src/routes/billing.tsx b/frontend/src/routes/billing.tsxindex c004d93dee..05d23fe276 100644--- a/frontend/src/routes/billing.tsx+++ b/frontend/src/routes/billing.tsx@@ -30,11 +30,12 @@ function BillingSettingsScreen() {}displaySuccessToast(t(I18nKey.PAYMENT$SUCCESS));++ setSearchParams({});} else if (checkoutStatus === "cancel") {displayErrorToast(t(I18nKey.PAYMENT$CANCELLED));+ setSearchParams({});}-- setSearchParams({});}, [checkoutStatus, searchParams, setSearchParams, t, trackCreditsPurchased]);return <PaymentForm />;