You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
confirmText="I understand this action is IRREVERSIBLE and will delete ALL associated data."
186
-
>
187
-
<Typography>
188
-
{`Are you sure that you want to delete the project with name "${project.displayName}" and ID "${project.id}"? This action is irreversible and will delete all associated data (including users, teams, API keys, project configs, etc.).`}
189
-
</Typography>
190
-
</ActionDialog>
191
-
</AccordionContent>
192
-
</AccordionItem>
193
-
</Accordion>
170
+
<divclassName="flex flex-col gap-4">
171
+
<div>
172
+
<Typographyvariant="secondary"className="mb-2">
173
+
Once you delete a project, there is no going back. All data will be permanently removed.
174
+
</Typography>
175
+
<ActionDialog
176
+
trigger={
177
+
<Buttonvariant="destructive"size="sm">
178
+
Delete Project
179
+
</Button>
180
+
}
181
+
title="Delete Project"
182
+
danger
183
+
okButton={{
184
+
label: "Delete Project",
185
+
onClick: async()=>{
186
+
awaitproject.delete();
187
+
awaitstackAdminApp.redirectToHome();
188
+
}
189
+
}}
190
+
cancelButton
191
+
confirmText="I understand this action is IRREVERSIBLE and will delete ALL associated data."
192
+
>
193
+
<Typography>
194
+
{`Are you sure that you want to delete the project with name "${project.displayName}" and ID "${project.id}"?`}
195
+
</Typography>
196
+
<TypographyclassName="mt-2">
197
+
This action is <strong>irreversible</strong> and will permanently delete:
0 commit comments