-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 경우에 따른 supportingText rendering * chore: api path 변경에 따른 폴더 구조 변경 * chore: 중복 제거 * feat: 인증코드 SupportingText 추가 * feat: 비밀번호 재설정 로직 수정 * refactor: input의 supportingText 사용 * style: 버튼 크기 수정 * chore: 줄바꿈 추가 * fix: signup 메일 api path 변경 & 빌드 에러 해결 * chore: 코드 순서 변경 * chore: 콘솔 제거 * chore: solve lint error * feat: 인증 메일 전송시 버튼 텍스트 변경 * chore: sort package.json
- Loading branch information
Showing
19 changed files
with
213 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
src/page/login/password/auth/hook/common/useSupportingText.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { useState } from 'react'; | ||
|
||
import { SupportingText } from '@/page/login/password/type/supportingText'; | ||
|
||
import { SUPPORTING_TEXT } from '@/shared/constant/form'; | ||
|
||
export const useSupportingText = () => { | ||
const [emailSupportingText, setEmailSupportingText] = useState<SupportingText>({ | ||
text: SUPPORTING_TEXT.EMAIL_AUTH, | ||
type: 'default', | ||
}); | ||
|
||
const [codeSupportingText, setCodeSupportingText] = useState<SupportingText>({ | ||
text: SUPPORTING_TEXT.AUTHCODE, | ||
type: 'default', | ||
}); | ||
|
||
return { | ||
emailSupportingText, | ||
setEmailSupportingText, | ||
codeSupportingText, | ||
setCodeSupportingText, | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.