From 43e0d785f412a44bec07ba249aaf97da66e16058 Mon Sep 17 00:00:00 2001 From: ichiro-ss Date: Sun, 31 Mar 2024 13:18:35 +0900 Subject: [PATCH] title max length 120 --- src/pages/Edit.jsx | 4 ++-- src/pages/NewSummary.jsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/Edit.jsx b/src/pages/Edit.jsx index 64d6da0..80a862c 100644 --- a/src/pages/Edit.jsx +++ b/src/pages/Edit.jsx @@ -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} diff --git a/src/pages/NewSummary.jsx b/src/pages/NewSummary.jsx index e0d8684..ceadf89 100644 --- a/src/pages/NewSummary.jsx +++ b/src/pages/NewSummary.jsx @@ -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"