"use client"; import { Loading } from "@/components/dashboard/loading"; import { Badge } from "@/components/ui/badge"; // import { Button } from "@/components/ui/button"; // import { // Form, // FormControl, // FormDescription, // FormField, // FormItem, // FormLabel, // FormMessage, // } from "@/components/ui/form"; // import { Input } from "@/components/ui/input"; import { toast } from "@/components/ui/toaster"; // import { trpc } from "@/lib/trpc/client"; // import { useOrganizationList } from "@clerk/nextjs"; // import { zodResolver } from "@hookform/resolvers/zod"; import { Box } from "lucide-react"; import { useRouter } from "next/navigation"; // import { useForm } from "react-hook-form"; import { z } from "zod"; const formSchema = z.object({ name: z.string().min(3, "Name is required and should be at least 3 characters").max(50), }); import { Button, Form, Select, type FormItemProps, Input } from 'antd'; import { createContext, useContext, useMemo } from "react"; import { nanoid } from "nanoid"; import ChatPage from "../chatbot/page"; import { Chat } from '@/components-ai/chat' import { AI } from '@/lib/chat/actions' const MyFormItemContext = createContext<(string | number)[]>([]); interface MyFormItemGroupProps { prefix: string | number | (string | number)[]; children: React.ReactNode; } export const AsideContent: React.FC = () => { const onFinish = (value: object) => { console.log(value); }; return (
A workspace groups all your resources and billing. You can have one personal workspace for free and create more workspaces with your teammates.
*/}