Skip to content

Commit 91237a1

Browse files
committed
chore: eslint 적용
1 parent c910bc7 commit 91237a1

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

apps/pyconkr/src/components/layout/BreadCrumb/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ const menus = [
5656
},
5757
];
5858

59+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
5960
function 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) {

apps/pyconkr/src/components/layout/Header/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const Header: React.FC = () => {
2525
<BreadCrumb />
2626
</>
2727
);
28-
}
28+
};
2929

3030
const HeaderContainer = styled.header`
3131
background-color: ${({ theme }) => theme.palette.primary.light};

apps/pyconkr/src/components/layout/Nav/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import styled from "@emotion/styled";
2-
import { useMenu } from "../../../hooks/useMenu";
32
import { useState, useEffect, useRef, useMemo } from "react";
43

4+
import { useMenu } from "../../../hooks/useMenu";
5+
56
const menus = [
67
{
78
text: "파이콘 한국",

0 commit comments

Comments
 (0)