From e4dc09df4b048d3e7bcb92dfa8bc17b3e432a721 Mon Sep 17 00:00:00 2001 From: Jonathan Summers-Muir Date: Sat, 28 Jan 2023 04:29:32 +0800 Subject: [PATCH] Update ExitSurvey.tsx --- .../components/interfaces/Billing/ExitSurvey/ExitSurvey.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 = ({ freeTier, subscription, onSelectBack }) => { visible={showConfirmModal} size="large" header="Downgrading project to free" - onCancel={() => setShowConfirmModal(false)} + onCancel={() => { + setShowConfirmModal(false) + setIsSubmittingDowngradeModal(false) + }} >