@daeryun/dr_components 0.8.90 → 0.8.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -246,8 +246,10 @@ export const useSocketEventHandler = ({ setIsConnected, setIsLoading, setMessage
|
|
|
246
246
|
}
|
|
247
247
|
else {
|
|
248
248
|
toast.error('인증에 실패했습니다.');
|
|
249
|
-
|
|
250
|
-
|
|
249
|
+
setTimeout(() => {
|
|
250
|
+
onClose();
|
|
251
|
+
window.location.href = '/';
|
|
252
|
+
}, 500);
|
|
251
253
|
}
|
|
252
254
|
}
|
|
253
255
|
if (!(((_d = inquiryData === null || inquiryData === void 0 ? void 0 : inquiryData.result_info) === null || _d === void 0 ? void 0 : _d.result_cd) === 'OK' || ((_e = inquiryData === null || inquiryData === void 0 ? void 0 : inquiryData.result_info) === null || _e === void 0 ? void 0 : _e.result_type_cd) === 'OK')) {
|
|
@@ -338,8 +338,10 @@ export const useSocketEventHandler = ({
|
|
|
338
338
|
console.log('해쉬 인증 완료');
|
|
339
339
|
} else {
|
|
340
340
|
toast.error('인증에 실패했습니다.');
|
|
341
|
-
|
|
342
|
-
|
|
341
|
+
setTimeout(() => {
|
|
342
|
+
onClose();
|
|
343
|
+
window.location.href = '/';
|
|
344
|
+
}, 500);
|
|
343
345
|
}
|
|
344
346
|
}
|
|
345
347
|
|