Skip to content

Commit

Permalink
fix: remove redundant model provider config toast
Browse files Browse the repository at this point in the history
  • Loading branch information
ivyjeong13 committed Dec 26, 2024
1 parent 6ce2501 commit 43048ba
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ui/admin/app/components/model-providers/ModelProviderForm.tsx
Original file line number Diff line number Diff line change
@@ -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";

Expand Down Expand Up @@ -124,7 +123,6 @@ export function ModelProviderForm({
modelProvider.id
)
);
toast.success(`${modelProvider.name} configured successfully.`);
onSuccess();
},
}
Expand Down

0 comments on commit 43048ba

Please sign in to comment.