From 59618ef90663e94edd80c4c2a81005a208b574bc Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Tue, 25 Jul 2023 17:17:16 +0800 Subject: [PATCH] fix(console): reset loading state on plan downgraded (#4230) --- .../TenantSettings/Subscription/SwitchPlanActionBar/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/console/src/pages/TenantSettings/Subscription/SwitchPlanActionBar/index.tsx b/packages/console/src/pages/TenantSettings/Subscription/SwitchPlanActionBar/index.tsx index c0a441695..07136f961 100644 --- a/packages/console/src/pages/TenantSettings/Subscription/SwitchPlanActionBar/index.tsx +++ b/packages/console/src/pages/TenantSettings/Subscription/SwitchPlanActionBar/index.tsx @@ -69,6 +69,7 @@ function SwitchPlanActionBar({ {t('downgrade_success')} ); + setIsLoading(false); return; }