Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] 해시태그 최대 등록 개수 버그 해결 #277

Closed
wants to merge 1 commit into from

Conversation

dev-hamster
Copy link
Member

개요 🔍

해시태그가 9개만 등록되는 버그 해결

작업사항 📝

최대 등록 개수인 10개로 수정

테스트 방법(optional)

const validateHashTagList = (hashtagList: string[]): string => {
const MAX_HASHTAG = 10; // 최대 10개 등록 가능

if (hashtagList.length > MAX_HASHTAG) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

기존 if (hashtagList.length >= MAX_HASHTAG) 에서 if (hashtagList.length > MAX_HASHTAG) 로 조건 변경

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant