feat: update display name

This commit is contained in:
Henry
2025-02-01 11:37:16 +00:00
parent bee45aab3f
commit e321aa2f5d
9 changed files with 120 additions and 4 deletions

View File

@@ -18,6 +18,11 @@ export function DeleteWorkspaceConfirmation() {
const deleteWorkspaceMutation = api.workspace.delete.useMutation({
onSuccess: () => {
closeModal();
showPopup({
header: "Workspace deleted",
message: "Your workspace has been deleted.",
icon: "success",
});
const filteredWorkspaces = availableWorkspaces.filter(
(ws) => ws.publicId !== workspace.publicId,
);