Skip to content

Commit ca8f7e3

Browse files
committed
Chore: 토스트 추가
1 parent 451672d commit ca8f7e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/modal/EditModal.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ const EditModal = ({
2525
const body = {
2626
name: value,
2727
};
28-
if (value === "") {
28+
if (!folderId) {
29+
toast.error(toastMessages.error.invalidLinkCount);
30+
} else if (value === "") {
2931
toast.error(toastMessages.error.inputFolderName);
3032
} else {
3133
try {

0 commit comments

Comments
 (0)