"use client"; import { Button, Form, Input, Link } from "@nextui-org/react"; import { useState } from "react"; export default function UserPage() { const [username, setUsername] = useState(""); const [password, setPassword] = useState(""); const [password2, setPassword2] = useState(""); const [errors, setErrors] = useState({}); return (