mirror of
https://github.com/swissmakers/swiss-datashare.git
synced 2026-04-19 13:33:13 +02:00
Add User Info Page
This commit is contained in:
@@ -32,7 +32,10 @@ const CreateUploadModalBody = ({
|
||||
const modals = useModals();
|
||||
const validationSchema = yup.object().shape({
|
||||
link: yup.string().required().min(2).max(50),
|
||||
emails: mode == "email" ? yup.array().of(yup.string().email()).min(1) : yup.array(),
|
||||
emails:
|
||||
mode == "email"
|
||||
? yup.array().of(yup.string().email()).min(1)
|
||||
: yup.array(),
|
||||
password: yup.string().min(3).max(100),
|
||||
maxVisitors: yup.number().min(1),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user