From 703b07ba8171905ed95d2444c6c9101e786a5f83 Mon Sep 17 00:00:00 2001 From: dasosann Date: Mon, 16 Feb 2026 00:51:14 +0900 Subject: [PATCH 1/2] fix: qa-button --- src/feature/root/components/RendingBody.tsx | 53 +++++++++---------- src/feature/root/components/ScreenNewRoot.tsx | 2 +- 2 files changed, 25 insertions(+), 30 deletions(-) diff --git a/src/feature/root/components/RendingBody.tsx b/src/feature/root/components/RendingBody.tsx index 5bc7291..776f027 100644 --- a/src/feature/root/components/RendingBody.tsx +++ b/src/feature/root/components/RendingBody.tsx @@ -35,7 +35,7 @@ export const RendingBody = () => { alt: 'QR 코드 공유', width: 260, height: 530.31, - title: '이벤트마다 모인 자리에서 바로 공유', + title: '모인 자리에서 바로 공유', description: '감튀 모임부터 앨범 만들고 초대까지 딱 10초', }, { @@ -43,7 +43,7 @@ export const RendingBody = () => { alt: '베스트컷', width: 312.56, height: 530.31, - title: '이벤트마다 한눈에 보는 베스트컷', + title: '한눈에 보는 베스트컷', description: '사진 고르는 고민 이제 끝', }, { @@ -137,7 +137,7 @@ export const RendingBody = () => { className='absolute bottom-0 z-10 flex h-[242px] w-full flex-col items-center bg-white px-4 pt-8' style={{ paddingBottom: 'calc(env(safe-area-inset-bottom) + 20px)' }} > - {/* 텍스트 및 인디케이터 영역 - 스와이프 가능 */} + {/* 텍스트 영역 - 스와이프 가능 */} { {slides.map((slide, index) => ( -
- {/* 텍스트 영역 */} -
-

- {slide.title} -

-

- {slide.description} -

-
- - {/* 인디케이터 점들 */} -
- {slides.map((_, idx) => ( -
+
+

+ {slide.title} +

+

+ {slide.description} +

))} + {/* 인디케이터 점들 - 고정 */} +
+ {slides.map((_, idx) => ( +
+ {/* 카카오 로그인 버튼 - 고정 */}
{ // 로그인 상태이거나 비로그인에서 스플래시 시간이 지난 경우 return ( -
+
); From b5c82ab079f575f81ebfd937363d79bb4ef51ab1 Mon Sep 17 00:00:00 2001 From: dasosann Date: Mon, 16 Feb 2026 00:55:26 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/global/hooks/useCheckAuth.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/global/hooks/useCheckAuth.ts b/src/global/hooks/useCheckAuth.ts index 546006b..23a9a1e 100644 --- a/src/global/hooks/useCheckAuth.ts +++ b/src/global/hooks/useCheckAuth.ts @@ -53,7 +53,7 @@ export function useCheckAuth({ const status = err?.response?.status; const code = err?.code; - // 401 에러 또는 refresh token 없음 에러 처리 + // 401 에러 또는 refresh token 없음 에러 처리, 혹은 그 외 에러도 비로그인 처리 if ( status === 401 || code === 401 || @@ -62,6 +62,11 @@ export function useCheckAuth({ setIsAuthed(false); setUserId(null); onUnauthed?.(); + } else { + // 그 외 에러 상황에서도(네트워크 에러 등) 일단 비로그인으로 간주하여 무한 로딩 방지 + setIsAuthed(false); + setUserId(null); + onUnauthed?.(); } } };