Skip to content

Commit

Permalink
fix(Header): 검색창 placeholder 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
0jenn0 committed Sep 26, 2024
1 parent 9056bbf commit 39c74cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/common/Header/Header.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const rightContentOptions = {
<S.FormWrapper>
<Input
autoFocus
placeholder="검색해주세요"
placeholder="제목 또는 작성자명으로 검색해 주세요."
style={{ height: "4rem", marginBottom: "-1rem" }}
/>
<S.ButtonContainer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const SearchHeader = () => {
const handleClickSearchButton = (e: React.FormEvent<HTMLFormElement>) => {
e.preventDefault();
if (keyword.trim().length < MIN_KEYWORD_LENGTH) {
alert(`${MIN_KEYWORD_LENGTH}글자 이상 검색해주세요.`);
alert(`${MIN_KEYWORD_LENGTH}글자 이상 검색해 주세요.`);
setKeyword(keyword.trim());
} else {
navigate(ROUTE_PATHS_MAP.search(keyword));
Expand Down Expand Up @@ -72,7 +72,7 @@ const SearchHeader = () => {
}
autoFocus
maxLength={20}
placeholder="검색해주세요"
placeholder="제목 또는 작성자명으로 검색해 주세요."
css={css`
height: 4rem;
padding-right: 7.8rem;
Expand Down

0 comments on commit 39c74cc

Please sign in to comment.