From fff9eb84278e7b62b4aa2d8c36b2787093d41e8d Mon Sep 17 00:00:00 2001 From: Fayorg Date: Tue, 7 May 2024 22:44:33 +0200 Subject: [PATCH] fix: removing config when db is deployed --- app/(deploy)/[workspace]/databases/database-new-form.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/(deploy)/[workspace]/databases/database-new-form.tsx b/app/(deploy)/[workspace]/databases/database-new-form.tsx index 685fa94..0129449 100644 --- a/app/(deploy)/[workspace]/databases/database-new-form.tsx +++ b/app/(deploy)/[workspace]/databases/database-new-form.tsx @@ -223,6 +223,8 @@ export default function DatabaseNewForm() { .then((res) => { console.log(res); setOpen(false); + setCurrentSteps(1); + setDatabaseConfig(defaultDatabaseConfig); router.refresh(); }) .catch((err) => {