"use client" import { useEffect, useTransition } from "react" import { usePathname } from "next/navigation" import { experimental_useFormStatus as useFormStatus } from "react-dom" import { Textarea } from "@/components/ui/textarea" import { Button } from "@/components/ui/button" import { handleFormSubmit } from "@/server/actions" export const VideoForm = () => { const pathname = usePathname() const ownerId = pathname.split("/").pop() const { pending } = useFormStatus() return (
) }