"use client"; import { Input } from "@/components/ui/input"; import { Button } from "@/components/ui/button"; import Link from "next/link"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import { Label } from "@/components/ui/label"; import { signIn } from "./action"; import { toast } from "@/components/ui/use-toast"; export default function SignInForm() { const submit = async (data: FormData) => { const { error } = await signIn(data); if (error) { toast({ title: "Error", description: error, }); } else { toast({ title: "Success", description: "Account created successfully", }); } }; return ( Sign in Enter your info below to login your account
Forgot your password?
Need an account?{" "} Sign up
); } export { SignInForm };