({
+ 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/course-admin-table/tools-table.tsx b/src/components/course-admin-table/tools-table.tsx
index c5104ad..782f9dc 100644
--- a/src/components/course-admin-table/tools-table.tsx
+++ b/src/components/course-admin-table/tools-table.tsx
@@ -24,17 +24,17 @@ const ToolsTable = ({
title={`Courses (${courseAdmin.length})`}
description="Manage Courses"
/>
-
+ {/* router.push(`/admin-dashboard/tools/add`)}
+
>
Add Course
-
+ */}
diff --git a/src/components/criteria-table/tools-table.tsx b/src/components/criteria-table/tools-table.tsx
index 7a135aa..23cdf90 100644
--- a/src/components/criteria-table/tools-table.tsx
+++ b/src/components/criteria-table/tools-table.tsx
@@ -19,7 +19,7 @@ const ToolsTable = ({ criteriaData }: { criteriaData: Criteria[] }) => {
description="Manage Criteria"
/>