From de8971bea60ddeae4afcdc6d02b414c7f7499488 Mon Sep 17 00:00:00 2001 From: rsone001 Date: Tue, 8 Sep 2026 13:43:26 +0900 Subject: [PATCH] =?UTF-8?q?[ST]=20fix:=20=EB=8C=80=EC=8B=9C=EB=B3=B4?= =?UTF-8?q?=EB=93=9C=20=ED=86=B5=EA=B3=84=20=EC=B2=98=EB=A6=AC=20=ED=98=84?= =?UTF-8?q?=ED=99=A9=20panel=20css=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../st/src/pages/auth/login/ui/login-page.tsx | 2 +- .../ui/panels/three-stage-status-panel.tsx | 68 ++++++++++--------- 2 files changed, 36 insertions(+), 34 deletions(-) diff --git a/apps/st/src/pages/auth/login/ui/login-page.tsx b/apps/st/src/pages/auth/login/ui/login-page.tsx index 8fbc466d5..704871e3e 100644 --- a/apps/st/src/pages/auth/login/ui/login-page.tsx +++ b/apps/st/src/pages/auth/login/ui/login-page.tsx @@ -24,7 +24,7 @@ function LoginPage() { await authService.login({ userId, password }); try { await statisticsApi.refreshAllCommonCodes(); - } catch(error) { + } catch { console.error('로그인 실패'); } window.location.href = "/statistics"; diff --git a/apps/st/src/pages/statistics/ui/panels/three-stage-status-panel.tsx b/apps/st/src/pages/statistics/ui/panels/three-stage-status-panel.tsx index de90fca3a..ac914a93f 100644 --- a/apps/st/src/pages/statistics/ui/panels/three-stage-status-panel.tsx +++ b/apps/st/src/pages/statistics/ui/panels/three-stage-status-panel.tsx @@ -1,5 +1,7 @@ "use client"; +import { Fragment } from "react"; + import type { DashboardSearchParams } from "@/entities/statistics/model/dashboard/dashboard-interface"; import { useDashboardThreeStageStatus } from "@/entities/statistics/api/dashboard/dashboard-queries"; import { LoadingWithAnimation } from "@common/components"; @@ -83,7 +85,12 @@ export function ThreeStageStatusPanel({ params }: ThreeStageStatusPanelProps) {
-
+
{STEPS.map((step, index) => { const isChecked = checkedList[index]; const isCurrent = index === currentIndex; @@ -91,11 +98,8 @@ export function ThreeStageStatusPanel({ params }: ThreeStageStatusPanelProps) { const lineFilled = checkedList[index]; return ( -
-
+ +
{isCurrent && ( @@ -130,34 +134,32 @@ export function ThreeStageStatusPanel({ params }: ThreeStageStatusPanelProps) { )}
- - {!isLast && ( -
-
-
- )} +
+

+ {step.label} +

+

+ ({step.subLabel}) +

+
- -
-

- {step.label} -

-

- ({step.subLabel}) -

-
-
+ {!isLast && ( +
+
+
+ )} + ); })}