Skip to content

Commit

Permalink
title max length 120
Browse files Browse the repository at this point in the history
  • Loading branch information
ichiro-ss committed Mar 31, 2024
1 parent eb0d085 commit 43e0d78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/pages/Edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ export const Edit = () => {
{...register('title', {
required: 'please input title',
maxLength: {
value: 30,
message: 'maxLength: 30',
value: 120,
message: 'maxLength: 120',
},
})}
value={summary.title}
Expand Down
4 changes: 2 additions & 2 deletions src/pages/NewSummary.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export const NewSummary = () => {
{...register('title', {
required: 'please input title',
maxLength: {
value: 30,
message: 'maxLength: 30',
value: 120,
message: 'maxLength: 120',
},
})}
type="text"
Expand Down

0 comments on commit 43e0d78

Please sign in to comment.