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-Muir9693e5336cbd
diff --git a/studio/components/interfaces/Billing/ExitSurvey/ExitSurvey.tsx b/studio/components/interfaces/Billing/ExitSurvey/ExitSurvey.tsx
index 2f233529d42..e8caaf6111f 100644
--- a/studio/components/interfaces/Billing/ExitSurvey/ExitSurvey.tsx
+++ b/studio/components/interfaces/Billing/ExitSurvey/ExitSurvey.tsx
@@ -321,7 +321,14 @@ const ExitSurvey: FC<Props> = ({ freeTier, subscription, onSelectBack }) => {
<Modal.Separator />
<Modal.Content>
<div className="flex items-center gap-2">
- <Button block type="default" onClick={() => setShowConfirmModal(false)}>
+ <Button
+ block
+ type="default"
+ onClick={() => {
+ setShowConfirmModal(false)
+ setIsSubmitting(false)
+ }}
+ >
Cancel
</Button>
<Button