From 43048ba2328272db4bbe200fecf91aa99beb1132 Mon Sep 17 00:00:00 2001 From: Ivy Date: Thu, 26 Dec 2024 10:39:05 -0500 Subject: [PATCH] fix: remove redundant model provider config toast --- ui/admin/app/components/model-providers/ModelProviderForm.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/ui/admin/app/components/model-providers/ModelProviderForm.tsx b/ui/admin/app/components/model-providers/ModelProviderForm.tsx index 217a2fae..8d5db4a5 100644 --- a/ui/admin/app/components/model-providers/ModelProviderForm.tsx +++ b/ui/admin/app/components/model-providers/ModelProviderForm.tsx @@ -1,7 +1,6 @@ import { zodResolver } from "@hookform/resolvers/zod"; import { CircleAlertIcon } from "lucide-react"; import { useFieldArray, useForm } from "react-hook-form"; -import { toast } from "sonner"; import { mutate } from "swr"; import { z } from "zod"; @@ -124,7 +123,6 @@ export function ModelProviderForm({ modelProvider.id ) ); - toast.success(`${modelProvider.name} configured successfully.`); onSuccess(); }, }