Skip to content

Commit

Permalink
[W-SU005] about you 에 maxLength 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
zestlee1106 committed Dec 6, 2023
1 parent dcb9147 commit 39c1075
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion pages/api/auth/[...nextauth].ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export default NextAuth({
if (user) {
// eslint-disable-next-line no-param-reassign
token.user = user;
console.log('%c 🤩🤩🤩 영우의 로그 User: ', 'font-size: x-large; color: #bada55;', '', user);
}
return {
...token,
Expand Down
8 changes: 6 additions & 2 deletions pages/signup/step3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,12 @@ export default function SignUp() {
</section>
<section>
<p className="text-[16px] text-g7 font-semibold mb-[8px]">{signUpTranslation.t('aboutYou')}</p>
<Textarea placeholder={signUpTranslation.t('introduce') as string} register={register('introduce')} />
<div className="text-right text-[14px] text-g5 mt-[4px]">{watch('introduce')?.length} / 1000 byte</div>
<Textarea
placeholder={signUpTranslation.t('introduce') as string}
register={register('introduce')}
maxLength={500}
/>
<div className="text-right text-[14px] text-g5 mt-[4px]">{watch('introduce')?.length} / 500 byte</div>
</section>
<div className="fixed bottom-0 w-full overflow-x-hidden left-[50%] translate-x-[-50%] px-[20px] max-w-max">
<div className="w-full">
Expand Down

0 comments on commit 39c1075

Please sign in to comment.