[FE] refactor: Input의 type에 올 수 있는 값을 html에서 제공하는 값으로 제한 #547
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.
🚀 어떤 기능을 구현했나요 ?
🔥 어떻게 해결했나요 ?
Input 인터페이스의 type을 이렇게 수정했습니다.
type: React.InputHTMLAttributes<HTMLInputElement>['type'];
📝 어떤 부분에 집중해서 리뷰해야 할까요?
HomePage
밖에 없어서 홈페이지의 input들이 잘 돌아가는지 확인했습니다. (정확히는 홈페이지 -> 리뷰 작성 완료까지 잘 돌아가는 걸 확인했습니다. 다른 곳에서는...안 쓰고 있겠죠?!)📚 참고 자료, 할 말