Skip to content

Commit b3afc78

Browse files
committed
Chore: 폴더id 기본값 삭제
1 parent 2aa54b1 commit b3afc78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/modal/modalManager/ModalManager.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const Modal = () => {
4545
return (
4646
<DeleteFolderModal
4747
folderName={props.folderName || "폴더이름"}
48-
folderId={props.folderId || 1}
48+
folderId={Number(props.folderId)}
4949
/>
5050
);
5151
case "DeleteLinkModal":
@@ -59,7 +59,7 @@ export const Modal = () => {
5959
return (
6060
<EditModal
6161
folderName={props.folderName || "폴더이름"}
62-
folderId={props.folderId || 1}
62+
folderId={Number(props.folderId)}
6363
/>
6464
);
6565
case "SNSModal":

0 commit comments

Comments
 (0)