Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/GU-99/grow-up-fe into fe…
Browse files Browse the repository at this point in the history
…ature/#301-project-create-date-fix
  • Loading branch information
ice-bear98 committed Dec 25, 2024
2 parents 31be69e + ffa89ba commit 2ba7d50
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/mocks/services/projectServiceHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ const projectServiceHandler = [
}

// 접두사(nickname)과 일치하는 유저 정보 최대 5명 추출
const matchedSearchUsers = searchUsers
.filter((user) => user.nickname.startsWith(nickname) && user.userId !== userId)
.slice(0, 5);
const matchedSearchUsers = searchUsers.filter((user) => user.nickname.startsWith(nickname)).slice(0, 5);

return HttpResponse.json(matchedSearchUsers);
}),
Expand Down

0 comments on commit 2ba7d50

Please sign in to comment.