Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
주요 수정사항
로그인시 useUserDetail 훅 사용 대신 직접 토큰을 파싱하도록 변경
types.d.ts 생성
types.d.ts
: JWT 토큰 타입의 interface 가 두군데 이상 사용해서 공용 타입을 넣기위해 만들었습니다. 추후에 공용타입이 많아지면 파일이나 폴더를 세분화 하면 될거 같습니다.