fix(10): correct toast error messages in SkillDetail — Update/Uninstall not Install/Rollback

This commit is contained in:
Mikkel Georgsen 2026-04-01 02:56:23 +02:00
parent 530b94b2f7
commit 328e44b887

View file

@ -145,7 +145,7 @@ export function SkillDetail() {
pushToast({ title: "Skill updated", tone: "success" });
},
onError: (err: Error) => {
pushToast({ title: "Install failed", body: err.message, tone: "error" });
pushToast({ title: "Update failed", body: err.message, tone: "error" });
},
});
@ -169,7 +169,7 @@ export function SkillDetail() {
pushToast({ title: "Skill uninstalled", tone: "success" });
},
onError: (err: Error) => {
pushToast({ title: "Rollback failed", body: err.message, tone: "error" });
pushToast({ title: "Uninstall failed", body: err.message, tone: "error" });
},
});