Skip to content

Commit

Permalink
feat: only allow the user to enter new description up to 127 chars
Browse files Browse the repository at this point in the history
  • Loading branch information
ajyey committed Jun 26, 2023
1 parent 26510de commit bacad1d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ function EmailDescription({
className="bg-transparent text-white w-[98%] focus:outline-none"
type="text"
value={editedDescription || ''}
maxLength={127}
onChange={handlDescriptionChange}
/>
) : descriptionExists ? (
Expand Down

0 comments on commit bacad1d

Please sign in to comment.