Skip to content

Commit 7c9e167

Browse files
committed
fix: qa
1 parent d8f5d1a commit 7c9e167

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

  • apps/ticket/src/app/(pages)/staff/ticket-authorization/_clientBoundary/TicketAuthorizationClient

apps/ticket/src/app/(pages)/staff/ticket-authorization/_clientBoundary/TicketAuthorizationClient/index.tsx

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,22 +115,23 @@ const showToast = (message: string, type: "success" | "error" = "success") => {
115115

116116
toast.className = cx("toast", type);
117117
toast.textContent = message;
118-
document.body.appendChild(toast);
118+
// document.body.appendChild(toast);
119119

120-
// 3초 후 제거
121-
setTimeout(() => {
122-
toast.classList.add(cx("toast_hide"));
123-
setTimeout(() => {
124-
document.body.removeChild(toast);
125-
}, 300);
126-
}, 2000);
120+
// // 3초 후 제거
121+
// setTimeout(() => {
122+
// toast.classList.add(cx("toast_hide"));
123+
// setTimeout(() => {
124+
// document.body.removeChild(toast);
125+
// }, 300);
126+
// }, 2000);
127127

128128
if (type === "success") {
129129
playDing();
130+
alert("확인되었습니다");
130131
} else {
131-
// 실패 케이스에는 음성 알림
132132
playErrorDing();
133-
speak(message);
133+
// speak(message);
134+
alert(message);
134135
}
135136
};
136137

0 commit comments

Comments
 (0)