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

@@ -53,6 +53,11 @@ const UpdateWorkspaceUrlForm = ({
const updateWorkspaceSlug = api.workspace.update.useMutation({
onSuccess: async () => {
showPopup({
header: "Workspace slug updated",
message: "Your workspace slug has been updated.",
icon: "success",
});
try {
await utils.workspace.all.refetch();
} catch (e) {