Skip to content

Commit 3bfa943

Browse files
authored
Merge pull request #101 from baekseungyong/refactoring/annotation
백승용 / formgroup 및 form 검색 시 기능 구현 / refactoring/annotation
2 parents 59f970f + f09d470 commit 3bfa943

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/SearchBar.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ const SearchBar = ({ where, setQuery }) => {
6868
setValue("");
6969
}
7070
};
71-
71+
// * 검색 시 엔터 버튼으로 검색을 눌렀을 때는 onKeyPress를 사용했고
72+
// * 검색 버튼 클릭 시 onClick을 사용하여 사용자가 편하게 검색하도록 기능구현했습니다.
7273
return (
7374
<section className={styles.section1__searchBar}>
7475
<input

0 commit comments

Comments
 (0)