We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdfed22 commit 937d270Copy full SHA for 937d270
src/features/ticket/hooks/useOrderHook.ts
@@ -54,7 +54,7 @@ export const useTicketQrCodeValidate = () => {
54
onSuccess: () => {
55
alert('체크인 성공!');
56
},
57
- onError: (error: any) => {
+ onError: (error: { code?: string }) => {
58
const errorCode = error?.code;
59
if (errorCode === 'QR_CODE4001') {
60
alert('이미 사용된 QR 코드입니다.');
0 commit comments