Skip to content

Commit edb9dcd

Browse files
committed
Remove unused
1 parent af50628 commit edb9dcd

File tree

1 file changed

+3
-37
lines changed

1 file changed

+3
-37
lines changed

src/components/Nav/menus.ts

Lines changed: 3 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { useDispatch } from "react-redux"
1+
import { useDispatch } from "react-redux";
22

3-
import { setLanguage } from "store/Core"
3+
import { setLanguage } from "store/Core";
44

55
export type MenuElementOnClickArgType = {
66
setOpenMenu: React.Dispatch<React.SetStateAction<boolean>>;
@@ -10,7 +10,6 @@ export type MenuElementOnClickArgType = {
1010

1111
export type MenuElementType = {
1212
name: string;
13-
style?: React.CSSProperties;
1413
path?: string;
1514
onClick?: (_: MenuElementOnClickArgType) => void;
1615
};
@@ -47,25 +46,8 @@ const Menus: MenuType = {
4746
name: "장소 안내",
4847
path: "/about/place",
4948
},
50-
// {
51-
// name: "지난 파이콘 한국",
52-
// path: "/about/previous-pyconkr",
53-
// },
5449
],
5550
},
56-
// keynote: {
57-
// name: "키노트",
58-
// sub: [
59-
// {
60-
// name: "키노트",
61-
// path: "/keynote/keynote",
62-
// },
63-
// {
64-
// name: "발표",
65-
// path: "/keynote/session",
66-
// },
67-
// ],
68-
// },
6951
// FYI 0929 충분히 안내가 되어서 제거
7052
// program: {
7153
// name: "프로그램",
@@ -102,7 +84,7 @@ const Menus: MenuType = {
10284
},
10385
poster: {
10486
name: "포스터 세션",
105-
path: "/poster-session"
87+
path: "/poster-session",
10688
},
10789
sponsoring: {
10890
name: "후원하기",
@@ -115,22 +97,6 @@ const Menus: MenuType = {
11597
name: "개인 후원자",
11698
path: "/sponsoring/patron",
11799
},
118-
// {
119-
// name: "후원사 혜택 안내",
120-
// path: "/sponsoring/sponsor/benefit",
121-
// },
122-
// {
123-
// name: "후원사로 참여하기",
124-
// path: "/sponsoring/sponsor/join",
125-
// },
126-
// {
127-
// name: "후원사 FAQ",
128-
// path: "/sponsoring/sponsor/faq",
129-
// },
130-
// {
131-
// name: "후원사 약관",
132-
// path: "/sponsoring/sponsor/terms",
133-
// },
134100
],
135101
},
136102
language: {

0 commit comments

Comments
 (0)