@daeryun/dr_components 1.2.80 → 1.2.81

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.
@@ -244,7 +244,7 @@ const StepOne = () => {
244
244
  var _a, _b;
245
245
  console.log('data: ', data);
246
246
  const redirect = decodeURIComponent(getCookie('redirect')) || '/';
247
- const newRedirect = appendUuidToRedirect(redirect, (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.uuid);
247
+ const newRedirect = appendUuidToRedirect(redirect, (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.data.idx);
248
248
  setCookie({ key: 'redirect', value: newRedirect });
249
249
  setModalObj({ title: '회원가입이 완료되었습니다.', subTitle: '' });
250
250
  setIsModal(true);
@@ -312,7 +312,7 @@ const StepOne = () => {
312
312
  onSuccess: (data) => {
313
313
  console.log('data: ', data);
314
314
  const redirect = decodeURIComponent(getCookie('redirect')) || '/';
315
- const newRedirect = appendUuidToRedirect(redirect, data?.user?.uuid);
315
+ const newRedirect = appendUuidToRedirect(redirect, data?.user?.data.idx);
316
316
  setCookie({ key: 'redirect', value: newRedirect });
317
317
  setModalObj({ title: '회원가입이 완료되었습니다.', subTitle: '' });
318
318
  setIsModal(true);