Skip to content

Commit

Permalink
Update src/components/Agents/Add/AddAgentForm.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Moshe Immerman <[email protected]>
  • Loading branch information
mainawycliffe and moshloop authored Oct 18, 2023
1 parent 9b7bc5c commit f9f36aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Agents/Add/AddAgentForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Props = {
export default function AgentForm({ isOpen, onClose, onSuccess }: Props) {
const { mutate: upsertAgent, isLoading } = useUpsertAgentMutations({
onSuccess: (data) => {
toastSuccess("Agent saved");
toastSuccess("Agent created");
onSuccess(data);
},
onError: (error) => {
Expand Down

0 comments on commit f9f36aa

Please sign in to comment.