@daeryun/dr_components 0.8.90 → 0.8.92

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.
@@ -245,9 +245,11 @@ export const useSocketEventHandler = ({ setIsConnected, setIsLoading, setMessage
245
245
  console.log('해쉬 인증 완료');
246
246
  }
247
247
  else {
248
- toast.error('인증에 실패했습니다.');
249
- onClose();
250
- window.location.href = '/';
248
+ toast.error('링크가 만료되었거나 존재하지 않습니다.');
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')) {
@@ -337,9 +337,11 @@ export const useSocketEventHandler = ({
337
337
  if (hashAuth?.result_info?.result_cd === 'OK' || hashAuth?.result_info?.result_type_cd === 'OK') {
338
338
  console.log('해쉬 인증 완료');
339
339
  } else {
340
- toast.error('인증에 실패했습니다.');
341
- onClose();
342
- window.location.href = '/';
340
+ toast.error('링크가 만료되었거나 존재하지 않습니다.');
341
+ setTimeout(() => {
342
+ onClose();
343
+ window.location.href = '/';
344
+ }, 500);
343
345
  }
344
346
  }
345
347