Skip to content

Commit 7ceb1f4

Browse files
authored
[fix] Update description length validation to 500 characters (#205)
1 parent c13a38d commit 7ceb1f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Components/New/useNewForm.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ export function useNewForm() {
7070
function setDescription(value = description) {
7171
let err: boolean = false;
7272

73-
if (value && (value.length < 10 || value.length > 200)) {
74-
setValDescription("Description must be between 10 and 200 characters.");
73+
if (value && (value.length < 10 || value.length > 500)) {
74+
setValDescription("Description must be between 10 and 500 characters.");
7575
err = true;
7676
}
7777

0 commit comments

Comments
 (0)