Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update ExitSurvey.tsx

Jonathan Summers-Muire4dc09df4b04
diff --git a/studio/components/interfaces/Billing/ExitSurvey/ExitSurvey.tsx b/studio/components/interfaces/Billing/ExitSurvey/ExitSurvey.tsx
index cd24ea8137f..4a28e0e1854 100644
--- a/studio/components/interfaces/Billing/ExitSurvey/ExitSurvey.tsx
+++ b/studio/components/interfaces/Billing/ExitSurvey/ExitSurvey.tsx
@@ -297,7 +297,10 @@ const ExitSurvey: FC<Props> = ({ freeTier, subscription, onSelectBack }) => {
visible={showConfirmModal}
size="large"
header="Downgrading project to free"
- onCancel={() => setShowConfirmModal(false)}
+ onCancel={() => {
+ setShowConfirmModal(false)
+ setIsSubmittingDowngradeModal(false)
+ }}
>
<div className="space-y-4 py-4">
<Modal.Content>