We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3efbbc3 commit 23e1b04Copy full SHA for 23e1b04
frontend/src/components/Invitations/NewInvitation.tsx
@@ -9,8 +9,8 @@ import {
9
Text,
10
} from "@chakra-ui/react"
11
import { useMutation, useQueryClient } from "@tanstack/react-query"
12
-
13
import { type SubmitHandler, useForm } from "react-hook-form"
+
14
import {
15
type ApiError,
16
type InvitationCreate,
@@ -36,7 +36,7 @@ const NewInvitation = () => {
36
mutationFn: (data: InvitationCreate) =>
37
InvitationsService.createInvitation({ requestBody: data }),
38
onSuccess: () => {
39
- showToast("Success!", "Invitation created successfully.", "success")
+ showToast("Success!", "Invitation sent successfully.", "success")
40
reset()
41
},
42
onError: (err: ApiError) => {
0 commit comments