Skip to content

Commit 004b857

Browse files
committed
chore : 메뉴 변수들 얼리기(freeze)
1 parent 4b2efe5 commit 004b857

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

client/src/constants/workspace.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ export const MENU = {
33
JOIN_ID: 2,
44
JOIN_SUCCESS_ID: 3,
55
};
6+
Object.freeze(MENU);
67

78
export const MENUS = [
89
{ id: 1, text: '생성하기' },
910
{ id: 2, text: '참여하기' },
1011
];
12+
Object.freeze(MENUS);
1113

1214
export const MODAL_MENUS = [
1315
{
@@ -38,3 +40,4 @@ export const MODAL_MENUS = [
3840
},
3941
},
4042
];
43+
Object.freeze(MODAL_MENUS);

0 commit comments

Comments
 (0)