diff --git a/apps/web/src/app/(dashboard)/contacts/[contactBookId]/add-contact.tsx b/apps/web/src/app/(dashboard)/contacts/[contactBookId]/add-contact.tsx index 638f3b1..2e057af 100644 --- a/apps/web/src/app/(dashboard)/contacts/[contactBookId]/add-contact.tsx +++ b/apps/web/src/app/(dashboard)/contacts/[contactBookId]/add-contact.tsx @@ -22,7 +22,6 @@ import { import { api } from "~/trpc/react"; import { useState } from "react"; import { Plus } from "lucide-react"; -import { useRouter } from "next/navigation"; import { z } from "zod"; import { useForm } from "react-hook-form"; import { zodResolver } from "@hookform/resolvers/zod"; @@ -71,7 +70,7 @@ export default function AddContact({ onError: async (error) => { toast.error(error.message); }, - } + }, ); } @@ -105,6 +104,21 @@ export default function AddContact({