
import * as yup from "yup";
// Validation Schema with Yup
export const schema = yup.object({
    username: yup.string().required("Username is required"),
    password: yup
      .string()
      .min(6, "Password must be at least 6 characters")
      .required("Password is required"),
  });