Skip to content

Commit

Permalink
refactor: (#123) 팀 코드 컨벤션에 맞게 클릭 함수명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chsua committed Jul 26, 2023
1 parent 8b844e9 commit 9efe192
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/Layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function Layout({ children, isSidebarVisible }: LayoutProps) {
return (
<S.Container>
<S.WideHeaderWrapper>
<WideHeader clickLogo={movePostListPage} />
<WideHeader handleLogoClick={movePostListPage} />
</S.WideHeaderWrapper>
<S.ContentContainer>
{isSidebarVisible && (
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/common/WideHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import SearchBar from '../SearchBar';

import * as S from './style';

export default function WideHeader({ clickLogo }: { clickLogo: () => void }) {
export default function WideHeader({ handleLogoClick }: { handleLogoClick: () => void }) {
return (
<S.Container>
<LogoButton content="full" onClick={clickLogo} />
<LogoButton content="full" onClick={handleLogoClick} />
<SearchBar size="sm" />
</S.Container>
);
Expand Down

0 comments on commit 9efe192

Please sign in to comment.