diff --git a/app/(protected)/infer/InferDealComponent.tsx b/app/(protected)/infer/InferDealComponent.tsx
index 60b4fa5..7d9edc3 100644
--- a/app/(protected)/infer/InferDealComponent.tsx
+++ b/app/(protected)/infer/InferDealComponent.tsx
@@ -72,7 +72,7 @@ export const InferNewDealComponent = () => {
Note:- Double check the output given by AI and save it accordingly
-
+
-
+
+
Inferred Deal using ChatGPT
-
+
- {generation}
+ {generation || "No deal generated yet."}
@@ -160,11 +162,9 @@ export const InferNewDealComponent = () => {
{" "}
{saveDealPending ? "Saving..." : "Save Deal"}
-
- {/* */}
);
-};
+};
\ No newline at end of file
diff --git a/app/(protected)/new-deal/page.tsx b/app/(protected)/new-deal/page.tsx
index d019f07..c264bb3 100644
--- a/app/(protected)/new-deal/page.tsx
+++ b/app/(protected)/new-deal/page.tsx
@@ -6,6 +6,7 @@ import { Button } from "@/components/ui/button";
import CreateNewDealForm from "@/components/forms/new-deal-form";
import { Metadata } from "next";
import { BulkImportDialog } from "@/components/Dialogs/bulk-import-dialog";
+import { InferDealDialog } from "@/components/Dialogs/infer-deal-dialog";
export const metadata: Metadata = {
title: "Add New Deal",
@@ -55,11 +56,7 @@ const NewDealPage = async () => {
accordingly
-
-
- Infer Deal
-
-
+
diff --git a/components/Dialogs/infer-deal-dialog.tsx b/components/Dialogs/infer-deal-dialog.tsx
new file mode 100644
index 0000000..fa6fa11
--- /dev/null
+++ b/components/Dialogs/infer-deal-dialog.tsx
@@ -0,0 +1,22 @@
+import { Dialog, DialogContent, DialogTitle, DialogTrigger } from "@/components/ui/dialog";
+import { Button } from "@/components/ui/button";
+import { Bot } from "lucide-react";
+import { InferNewDealComponent } from "../../app/(protected)/infer/InferDealComponent";
+
+export const InferDealDialog = () => {
+ return (
+
+
+
+ Infer Deal
+
+
+
+ Infer Deal
+
+
+
+
+
+ );
+};
\ No newline at end of file
diff --git a/components/Header.tsx b/components/Header.tsx
index 0fa763a..e7fdee9 100644
--- a/components/Header.tsx
+++ b/components/Header.tsx
@@ -42,7 +42,7 @@ export const NavLinks: NavLinkType = [
{ navlink: "/new-deal", navlabel: "New", icon: FiPlus },
{ navlink: "/raw-deals", navlabel: "Raw", icon: FiList },
{ navlink: "/published-deals", navlabel: "Published", icon: FiCheckSquare },
- { navlink: "/infer", navlabel: "Infer", icon: FiSearch },
+ // { navlink: "/infer", navlabel: "Infer", icon: FiSearch },
];
const Header = ({ className, session }: HeaderProps) => {