diff --git a/app/form/client.tsx b/app/form/client.tsx index b1c311a..eae2446 100644 --- a/app/form/client.tsx +++ b/app/form/client.tsx @@ -185,10 +185,14 @@ export function FormFillerClient({ form, questions, initialAnswers = {} }: FormF return (
{!form.isOpen && ( -
-
-

This form disable for now

-
+
+ + + + This form is disabled for now + + +
)}
diff --git a/app/form/layout.tsx b/app/form/layout.tsx index a24877e..c99c24f 100644 --- a/app/form/layout.tsx +++ b/app/form/layout.tsx @@ -1,6 +1,5 @@ import { getServerSession } from "next-auth"; import { authOptions } from "@/app/api/auth/[...nextauth]/route"; -import { Toaster } from "@/components/ui/sonner"; import { FormLayoutClient } from "./client"; import LoginDialog from "@/components/login-dialog"; @@ -25,7 +24,6 @@ export default async function FormLayout({ )}
{children}
- {!session && }
);