({
+ resolver: zodResolver(displayFormSchema),
+ defaultValues,
+ });
+
+ function onSubmit(data: DisplayFormValues) {
+ toast({
+ title: "You submitted the following values:",
+ description: (
+
+ {JSON.stringify(data, null, 2)}
+
+ ),
+ });
+ }
+
+ return (
+
+
+ );
+}
diff --git a/src/components/api-communication-table/tools-table.tsx b/src/components/api-communication-table/tools-table.tsx
index 3ba586f..2771f4b 100644
--- a/src/components/api-communication-table/tools-table.tsx
+++ b/src/components/api-communication-table/tools-table.tsx
@@ -8,7 +8,6 @@ import { columns } from "./columns";
import Link from "next/link";
import { Plus } from "lucide-react";
import { buttonVariants } from "@/components/ui/button";
-import { Organization } from "@/types/organization";
import { ApiCommunication } from "@/types/api-communication";
const ToolsTable = ({
@@ -24,13 +23,10 @@ const ToolsTable = ({
description="Manage Api Communications"
/>
router.push(`/admin-dashboard/tools/add`)}
>
{" "}
Add{" "}
@@ -39,7 +35,6 @@ const ToolsTable = ({
- {/* */}
>
);
};