Removed URL validation.

This commit is contained in:
Mike Cao 2024-12-17 23:36:54 -08:00
parent 67164a72a0
commit 85a348c55d
2 changed files with 2 additions and 6 deletions

View file

@ -31,10 +31,7 @@ const schema = {
.of(
yup.object().shape({
type: yup.string().required(),
value: yup
.string()
.matches(/^[a-zA-Z0-9/*-_]+$/, 'Invalid URL pattern')
.required(),
value: yup.string().required(),
}),
)
.min(2)