From 33717c485dad0fd23c32d9c416045577e5efe5e8 Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Fri, 14 Feb 2025 14:39:43 +0100 Subject: [PATCH] refacto(db): remove old setconfig --- src/components/settings/ClientSettings.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/settings/ClientSettings.tsx b/src/components/settings/ClientSettings.tsx index cd19686..1dc6bd1 100644 --- a/src/components/settings/ClientSettings.tsx +++ b/src/components/settings/ClientSettings.tsx @@ -6,7 +6,6 @@ import { useRouter } from "next/navigation"; import { storageService } from "@/lib/services/storage.service"; import { AuthError } from "@/types/auth"; import { useToast } from "@/components/ui/use-toast"; -import { komgaConfigService } from "@/lib/services/komga-config.service"; interface ErrorMessage { message: string; @@ -147,8 +146,6 @@ export function ClientSettings({ initialConfig }: ClientSettingsProps) { }, }; - komgaConfigService.setConfig(komgaConfig, true); - fetch("/api/komga/config", { method: "POST", headers: {