revert feat(loop): loop durdurma özelliği ekle

revert feat(loop): loop durdurma özelliği ekle
This commit is contained in:
2026-01-05 17:34:57 +00:00
parent 8bf4b10af3
commit 56bba79587

View File

@@ -109,26 +109,6 @@ export const LoopSetupCard = () => {
}
};
const stopLoop = async () => {
if (!selectedHash) {
return;
}
try {
await api.post("/api/loop/stop-by-hash", { hash: selectedHash });
pushAlert({
title: "Loop durduruldu",
description: "Seçili torrent için loop durduruldu.",
variant: "success",
});
} catch (error) {
pushAlert({
title: "Durdurma başarısız",
description: "Loop durdurulamadı.",
variant: "error",
});
}
};
const applyProfile = async (profile: Profile) => {
if (!selectedHash) {
pushAlert({