fix(mod): set original author field to optional
This commit is contained in:
parent
60773ec446
commit
c95af90b28
@ -209,13 +209,6 @@ const validateState = async (
|
||||
}
|
||||
}
|
||||
|
||||
if (
|
||||
formState.repost &&
|
||||
(!formState.originalAuthor || formState.originalAuthor === '')
|
||||
) {
|
||||
errors.originalAuthor = 'Original author field can not be empty'
|
||||
}
|
||||
|
||||
if (!formState.tags || formState.tags === '') {
|
||||
errors.tags = 'Tags field can not be empty'
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user