fix(mod): set original author field to optional

This commit is contained in:
enes 2025-01-09 14:04:45 +01:00
parent 60773ec446
commit c95af90b28

View File

@ -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 === '') { if (!formState.tags || formState.tags === '') {
errors.tags = 'Tags field can not be empty' errors.tags = 'Tags field can not be empty'
} }