vulneribilty fixed
This commit is contained in:
@@ -42,6 +42,11 @@ export function validatePlagiarismForm(
|
||||
}
|
||||
}
|
||||
|
||||
// docuemnt - type validation
|
||||
if (!state.type) {
|
||||
errors.type = 'Type is required!';
|
||||
}
|
||||
|
||||
return errors;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user