fix: redirection after deleting a project (#1970)
Co-authored-by: Aaryan Khandelwal <aaryan610@Aaryans-MacBook-Pro.local>
This commit is contained in:
parent
fe1b0c1d73
commit
bf0d0503b2
2 changed files with 3 additions and 4 deletions
|
|
@ -183,9 +183,6 @@ const GeneralSettings: NextPage = () => {
|
|||
data={projectDetails ?? null}
|
||||
isOpen={Boolean(selectProject)}
|
||||
onClose={() => setSelectedProject(null)}
|
||||
onSuccess={() => {
|
||||
router.push(`/${workspaceSlug}/projects`);
|
||||
}}
|
||||
user={user}
|
||||
/>
|
||||
<form onSubmit={handleSubmit(onSubmit)} className="p-8">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue