update workspace to project

This commit is contained in:
Maidul Islam
2024-08-01 17:29:33 -04:00
parent 8414f04e94
commit 78e41a51c0
2 changed files with 4 additions and 4 deletions
@@ -565,11 +565,11 @@ const OrganizationPage = withPermission(
await new Promise((resolve) => setTimeout(resolve, 2_000));
handlePopUpClose("addNewWs");
createNotification({ text: "Workspace created", type: "success" });
createNotification({ text: "Project created", type: "success" });
router.push(`/project/${newProjectId}/secrets/overview`);
} catch (err) {
console.error(err);
createNotification({ text: "Failed to create workspace", type: "error" });
createNotification({ text: "Failed to create project", type: "error" });
}
};