mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-26 06:18:04 +00:00
Added bracketSpacing into prettier (#627)
This commit is contained in:
@@ -458,20 +458,19 @@ const Uninstall = () => {
|
||||
enabled: isOpen,
|
||||
});
|
||||
|
||||
const uninstallMutation = useMutation(
|
||||
{mutationKey:["uninstall", namespace, chart],
|
||||
mutationFn:() =>
|
||||
const uninstallMutation = useMutation({
|
||||
mutationKey: ["uninstall", namespace, chart],
|
||||
mutationFn: () =>
|
||||
apiService.fetchWithDefaults(
|
||||
"/api/helm/releases/" + namespace + "/" + chart,
|
||||
{
|
||||
method: "delete",
|
||||
}
|
||||
),
|
||||
onSuccess: () => {
|
||||
window.location.href = "/";
|
||||
},
|
||||
}
|
||||
);
|
||||
onSuccess: () => {
|
||||
window.location.href = "/";
|
||||
},
|
||||
});
|
||||
const uninstallTitle = (
|
||||
<div className="font-semibold text-lg">
|
||||
Uninstall <span className="text-red-500">{chart}</span> from namespace{" "}
|
||||
|
||||
Reference in New Issue
Block a user