Skip to content

Commit a71b4bf

Browse files
committed
explicit type specification for page.tsx
1 parent fdba742 commit a71b4bf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • src/app/(dashboard)/projects/[projectId]/services/email/configurations

‎src/app/(dashboard)/projects/[projectId]/services/email/configurations/page.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ import {
4242
verifyJunoDomain,
4343
type DomainActionResult,
4444
type DomainRegistration,
45+
type SenderAddressInput,
4546
} from "@/lib/sdkUtils";
4647
import { getEmailConfig } from "@/lib/settings";
4748
import { useMutation, useQuery } from "@tanstack/react-query";
@@ -84,7 +85,7 @@ const EmailSendersAndDomainsPage = () => {
8485

8586
const registerSender = useMutation({
8687
mutationFn: (values: AddEmailSenderFormValues) =>
87-
registerJunoSenderAddress(projectId, values),
88+
registerJunoSenderAddress(projectId, values as SenderAddressInput),
8889
onSuccess: (res) => {
8990
if (res.success) {
9091
toast.success("Sender registered", { description: res.message });

0 commit comments

Comments
 (0)