Skip to content

Commit

Permalink
[Fe][Fix] 핸들러 네이밍 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
leedongyull committed Nov 11, 2024
1 parent ddc2250 commit b8e95d7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions frontend/src/component/Layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface ILayoutProps {
isHeaderTransparent?: boolean;
footerActive?: boolean;
headerButton?: ReactElement;
footerOnClick?: () => void;
handleFooterClick?: () => void;
}

export const Layout = (props: ILayoutProps) => (
Expand All @@ -25,6 +25,10 @@ export const Layout = (props: ILayoutProps) => (
<main>{props.children}</main>

{/* Footer */}
<Footer title={props.footerTitle} onClick={props.footerOnClick} active={props.footerActive} />
<Footer
title={props.footerTitle}
onClick={props.handleFooterClick}
active={props.footerActive}
/>
</div>
);

0 comments on commit b8e95d7

Please sign in to comment.