diff --git a/src/components/LoginModal.tsx b/src/components/LoginModal.tsx index 87fcc7e..dc4d89d 100644 --- a/src/components/LoginModal.tsx +++ b/src/components/LoginModal.tsx @@ -66,6 +66,7 @@ export default function LoginModal({ open, onClose }: ModalProps) { id="email" type="email" autoComplete="email" + defaultValue={'test@test.com'} required className="px-3 block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6" {...register('email', { @@ -87,6 +88,7 @@ export default function LoginModal({ open, onClose }: ModalProps) { id="password" type="password" autoComplete="current-password" + defaultValue={'1234'} required className="px-3 block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6" {...register('password', { diff --git a/src/pages/CreateGroupPage/index.tsx b/src/pages/CreateGroupPage/index.tsx index 4d69be5..64b0510 100644 --- a/src/pages/CreateGroupPage/index.tsx +++ b/src/pages/CreateGroupPage/index.tsx @@ -135,10 +135,10 @@ export default function CreateGroupPage() { type="text" {...register('name', { required: '스터디 이름을 작성해주세요!', - maxLength: { value: 10, message: '스터디 이름은 최대 10글자입니다!' }, + maxLength: { value: 20, message: '스터디 이름은 최대 20글자입니다!' }, })} className="w-full border rounded-md py-1 pl-3" - placeholder="스터디 이름을 입력하세요. (최대 10글자)" + placeholder="스터디 이름을 입력하세요. (최대 20글자)" />