File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
apps/pyconkr/src/components/layout Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ const menus = [
5656 } ,
5757] ;
5858
59+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
5960function findBreadcrumbInfo ( path : string ) {
6061 if ( path === "/" || path === "" ) {
6162 return {
@@ -66,7 +67,7 @@ function findBreadcrumbInfo(path: string) {
6667
6768 const normalizedPath = path . replace ( / ^ \/ | \/ $ / g, "" ) ;
6869
69- let breadcrumbPaths = [ { text : "홈" , href : "/" } ] ;
70+ const breadcrumbPaths = [ { text : "홈" , href : "/" } ] ;
7071 let pageTitle = "" ;
7172
7273 for ( const menu of menus ) {
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const Header: React.FC = () => {
2525 < BreadCrumb />
2626 </ >
2727 ) ;
28- }
28+ } ;
2929
3030const HeaderContainer = styled . header `
3131 background-color: ${ ( { theme } ) => theme . palette . primary . light } ;
Original file line number Diff line number Diff line change 11import styled from "@emotion/styled" ;
2- import { useMenu } from "../../../hooks/useMenu" ;
32import { useState , useEffect , useRef , useMemo } from "react" ;
43
4+ import { useMenu } from "../../../hooks/useMenu" ;
5+
56const menus = [
67 {
78 text : "파이콘 한국" ,
You can’t perform that action at this time.
0 commit comments